mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Update: Continued work on Friends tab + fixes
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
background: var(--primary-background);
|
||||
padding: 8px 0;
|
||||
z-index: 10;
|
||||
|
||||
|
||||
}
|
||||
|
||||
&[data-empty="true"] {
|
||||
@@ -28,11 +30,11 @@
|
||||
}
|
||||
|
||||
.friend {
|
||||
padding: 10px;
|
||||
padding: 0 10px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
border-radius: 5px;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
@@ -47,7 +49,7 @@
|
||||
flex-grow: 1;
|
||||
margin: 0 12px;
|
||||
font-size: 16px;
|
||||
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-overflow: ellipsis;
|
||||
@@ -61,6 +63,7 @@
|
||||
|
||||
.subtext {
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: var(--tertiary-foreground);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
@@ -73,8 +76,8 @@
|
||||
gap: 12px;
|
||||
|
||||
.button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
|
||||
&:hover.error {
|
||||
background: var(--error);
|
||||
@@ -91,6 +94,10 @@
|
||||
.list {
|
||||
padding: 0 12px 12px 12px;
|
||||
}
|
||||
|
||||
.call {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ export function Friend({ user }: Props) {
|
||||
actions.push(
|
||||
<>
|
||||
<IconButton type="circle"
|
||||
className={classNames(styles.button, styles.success)}
|
||||
className={classNames(styles.button, styles.call, styles.success)}
|
||||
onClick={ev => stopPropagation(ev, openDM(user._id).then(connect))}>
|
||||
<PhoneCall size={20} />
|
||||
</IconButton>
|
||||
|
||||
Reference in New Issue
Block a user