Various tiny CSS fixes (#1348)

This commit is contained in:
Alexander Zinchuk 2021-08-03 01:30:56 +03:00
parent 2d351ce7bc
commit 41713e3ca2
4 changed files with 10 additions and 5 deletions

View File

@ -130,7 +130,7 @@
ol {
list-style: none;
counter-reset: item;
padding: 0 2rem;
padding: 0 1.75rem;
li {
counter-increment: item;

View File

@ -73,6 +73,10 @@
padding-right: .125rem;
}
.subtitle {
margin-top: -.125rem;
}
h3 {
width: auto;
max-width: 80%;
@ -94,6 +98,7 @@
flex-grow: 1;
color: var(--color-text-secondary);
unicode-bidi: plaintext;
&[dir=ltr] {
text-align: left;
}

View File

@ -98,7 +98,7 @@ const ChatFolders: FC<StateProps & DispatchProps> = ({
}
return [
{ title: lang('FilterAllChats') },
{ title: lang.code === 'en' ? 'All' : lang('FilterAllChats') },
...displayedFolders.map((folder) => ({
title: folder.title,
...(folderCountersById && folderCountersById[folder.id]),

View File

@ -2,7 +2,7 @@
margin-top: 0.25rem;
margin-bottom: 0.125rem;
padding-left: .625rem;
font-size: 0.875rem;
font-size: calc(var(--message-text-size, 1rem) - .125rem);
line-height: 1.125rem;
max-width: 29rem;
position: relative;
@ -14,9 +14,9 @@
top: 0;
bottom: 0;
left: 0;
width: 2px;
width: .125rem;
background: var(--accent-color);
border-radius: 2px;
border-radius: .125rem;
}
&-text {