merginglab

This commit is contained in:
tonyrewin 2023-01-08 02:07:37 +03:00
commit a9339e6dfd
4 changed files with 10 additions and 13 deletions

View File

@ -21,7 +21,7 @@ const GroupDialogAvatar = (props: Props) => {
<For each={slicedUsers()}> <For each={slicedUsers()}>
{(user) => ( {(user) => (
<DialogAvatar <DialogAvatar
class={styles.grouped} className={styles.grouped}
bordered={true} bordered={true}
size="small" size="small"
name={user.name} name={user.name}

View File

@ -4,19 +4,18 @@
.popup { .popup {
background: #fff; background: #fff;
color: #000;
min-width: 144px;
opacity: 1;
position: absolute;
top: calc(100% + 8px); top: calc(100% + 8px);
opacity: 1;
color: #000;
position: absolute;
z-index: 100; z-index: 100;
min-width: 144px;
ul { ul {
margin-bottom: 0; margin-bottom: 0;
li { li {
position: relative; position: relative;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
@ -25,12 +24,11 @@
&.bordered { &.bordered {
@include font-size(1.6rem); @include font-size(1.6rem);
border: 2px solid #000; border: 2px solid #000;
padding: 2.4rem; padding: 2.4rem;
ul li { ul li {
margin-bottom: 1.6rem; margin-bottom: 1.6rem;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
@ -39,12 +37,11 @@
&.tiny { &.tiny {
@include font-size(1.4rem); @include font-size(1.4rem);
box-shadow: 0 4px 60px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 60px rgba(0, 0, 0, 0.1);
padding: 1rem; padding: 1rem;
ul li { ul li {
margin-bottom: 1rem; margin-bottom: 1rem;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
} }

View File

@ -1,5 +1,5 @@
import { createContext, createSignal, useContext } from 'solid-js'
import type { Accessor, JSX } from 'solid-js' import type { Accessor, JSX } from 'solid-js'
import { createContext, createSignal, useContext } from 'solid-js'
// import { createChatClient } from '../graphql/privateGraphQLClient' // import { createChatClient } from '../graphql/privateGraphQLClient'
import type { Chat, Message, MutationCreateMessageArgs } from '../graphql/types.gen' import type { Chat, Message, MutationCreateMessageArgs } from '../graphql/types.gen'
import { apiClient } from '../utils/apiClient' import { apiClient } from '../utils/apiClient'

View File

@ -12,8 +12,8 @@ import type {
MutationCreateMessageArgs, MutationCreateMessageArgs,
Chat, Chat,
QueryLoadRecipientsArgs, QueryLoadRecipientsArgs,
ProfileInput, ReactionBy,
ReactionBy ProfileInput
} from '../graphql/types.gen' } from '../graphql/types.gen'
import { publicGraphQLClient } from '../graphql/publicGraphQLClient' import { publicGraphQLClient } from '../graphql/publicGraphQLClient'
import { getToken, privateGraphQLClient } from '../graphql/privateGraphQLClient' import { getToken, privateGraphQLClient } from '../graphql/privateGraphQLClient'