Merge remote-tracking branch 'origin/next' into next-emoji-reacts

This commit is contained in:
Alex Gleason 2022-04-01 16:24:25 -05:00
commit 561f348094
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
8 changed files with 21 additions and 58 deletions

View file

@ -1,15 +1,6 @@
.pane {
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
border-radius: 6px 6px 0 0;
position: fixed;
bottom: 0;
right: 20px;
width: 265px;
height: 350px;
@apply flex flex-col shadow-md rounded-t-md fixed bottom-0 right-5 w-[256px] h-[350px] z-[1000];
max-height: calc(100vh - 70px);
display: flex;
flex-direction: column;
z-index: 1000; // Above AccountHeader
transition: 0.05s;
&--main {
@ -39,9 +30,8 @@
}
&__header {
@apply bg-primary-900 text-white;
box-sizing: border-box;
background: var(--brand-color);
color: #fff;
padding: 0 10px;
font-weight: bold;
border-radius: 6px 6px 0 0;
@ -104,21 +94,14 @@
}
&__content {
background: var(--foreground-color);
display: flex;
flex: 1;
flex-direction: column;
overflow: hidden;
@apply flex flex-1 flex-col overflow-hidden bg-white dark:bg-slate-800;
.chat-box {
display: flex;
flex: 1;
flex-direction: column;
overflow: hidden;
@apply flex flex-1 flex-col overflow-hidden;
}
.chat-list {
overflow-y: auto;
@apply overflow-y-auto;
}
}

View file

@ -760,14 +760,14 @@
.empty-column-indicator,
.error-column {
@apply bg-primary-50 text-gray-900 text-center p-10 flex flex-1 items-center justify-center min-h-[160px] rounded-lg;
@apply bg-primary-50 dark:bg-slate-700 text-gray-900 dark:text-gray-300 text-center p-10 flex flex-1 items-center justify-center min-h-[160px] rounded-lg;
@supports (display: grid) { // hack to fix Chrome <57
contain: strict;
}
& > span {
max-width: 400px;
@apply max-w-[400px];
}
a {

View file

@ -1,19 +1,15 @@
.emoji-react {
display: inline-block;
transition: 0.1s;
color: var(--primary-text-color--faint);
text-decoration: none;
@apply inline-block text-gray-900 dark:text-gray-300 no-underline;
&__emoji {
img {
width: 20px;
height: 20px;
@apply w-5 h-5;
filter: drop-shadow(2px 0 0 var(--foreground-color));
}
}
&__count {
display: none;
@apply hidden;
}
+ .emoji-react {

View file

@ -1,5 +1,5 @@
.sidebar-menu {
@apply flex inset-0 fixed flex-col w-80 bg-white transition-all ease-linear -translate-x-80 z-1000;
@apply flex inset-0 fixed flex-col w-80 bg-white dark:bg-slate-800 transition-all ease-linear -translate-x-80 z-1000;
&__wrapper {
opacity: 0;
@ -39,6 +39,10 @@
width: 90vw;
transform: translateX(-90vw);
}
hr {
@apply border-gray-200 dark:border-gray-700;
}
}
.sidebar-menu__root--visible {

View file

@ -97,19 +97,7 @@
}
.status__content__read-more-button {
display: block;
font-size: 15px;
line-height: 20px;
color: var(--highlight-text-color);
border: 0;
background: transparent;
padding: 0;
padding-top: 8px;
&:hover,
&:active {
text-decoration: underline;
}
@apply block text-gray-900 dark:text-gray-300 border-0 bg-transparent p-0 pt-2 hover:underline active:underline;
}
.status__content__spoiler-link {

View file

@ -134,9 +134,7 @@
}
&__footer {
padding-top: 6px;
padding-bottom: 5px;
color: var(--primary-text-color);
@apply pt-1.5 pb-[5px] text-black dark:text-white;
}
&__link {
@ -167,11 +165,10 @@
}
&__cancel {
height: 20px;
@apply h-5;
.svg-icon {
height: 20px;
width: 20px;
@apply h-5 w-5;
}
}
}
@ -196,13 +193,7 @@
}
.button.button-secondary {
font-size: 14px;
font-weight: 400;
padding: 6px 10px;
height: auto;
line-height: inherit;
color: var(--brand-color);
border-color: var(--brand-color);
@apply h-auto py-1.5 px-2.5 text-primary-600 border-primary-600;
}
li {

View file

@ -1,4 +1,5 @@
.icon-button {
@apply text-black dark:text-white;
display: inline-flex;
align-items: center;
padding: 0;