mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Various tiny CSS fixes (#1348)
This commit is contained in:
parent
2d351ce7bc
commit
41713e3ca2
@ -130,7 +130,7 @@
|
||||
ol {
|
||||
list-style: none;
|
||||
counter-reset: item;
|
||||
padding: 0 2rem;
|
||||
padding: 0 1.75rem;
|
||||
|
||||
li {
|
||||
counter-increment: item;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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]),
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user