Various layout fixes (#1084)

This commit is contained in:
Alexander Zinchuk 2021-05-12 15:28:37 +03:00
parent 222175cbbb
commit ecc2ed9979
5 changed files with 12 additions and 12 deletions

View File

@ -31,10 +31,10 @@
height: 1.5rem; height: 1.5rem;
background: var(--color-gray); background: var(--color-gray);
border-radius: 0.75rem; border-radius: 0.75rem;
padding: 0 .45rem; padding: 0 .4375rem;
color: white; color: white;
font-size: 0.875rem; font-size: 0.875rem;
line-height: 1.5rem; line-height: 1.5625rem;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
flex-shrink: 0; flex-shrink: 0;

View File

@ -54,7 +54,7 @@
.info { .info {
.title, .subtitle { .title, .subtitle {
padding-right: .15rem; padding-right: .125rem;
} }
h3 { h3 {
@ -63,9 +63,9 @@
} }
.icon-muted-chat { .icon-muted-chat {
font-size: 1.2rem; font-size: 1.25rem;
margin-left: 0.25rem; margin-left: 0.25rem;
margin-top: -0.1rem; margin-top: -.0625rem;
color: #C6C8CA; color: #C6C8CA;
} }

View File

@ -21,11 +21,11 @@
content: ""; content: "";
display: block; display: block;
position: absolute; position: absolute;
top: -2px; top: -.1875rem;
left: 0; left: 0;
right: 0; right: 0;
height: 2px; height: .125rem;
box-shadow: 0 2px 2px var(--color-light-shadow); box-shadow: 0 .125rem .125rem var(--color-light-shadow);
} }
.HeaderPinnedMessage { .HeaderPinnedMessage {
@ -317,7 +317,7 @@
display: flex; display: flex;
flex-shrink: 1; flex-shrink: 1;
padding: 0.25rem; padding: 0.25rem;
margin-top: -0.25rem; margin-top: -0.1875rem;
margin-bottom: -0.25rem; margin-bottom: -0.25rem;
padding-left: 0.375rem; padding-left: 0.375rem;
border-radius: var(--border-radius-messages-small); border-radius: var(--border-radius-messages-small);

View File

@ -323,8 +323,8 @@
height: 2.875rem; height: 2.875rem;
min-height: 2.875rem; min-height: 2.875rem;
max-height: 16rem; max-height: 16rem;
padding-top: calc(0.6875rem - var(--border-width)); padding-top: calc(0.84375rem - var(--border-width));
padding-bottom: calc(0.6875rem - var(--border-width)); padding-bottom: calc(0.84375rem - var(--border-width));
} }
transition: height 100ms ease; transition: height 100ms ease;

View File

@ -47,7 +47,7 @@
padding: 0 .3125rem; padding: 0 .3125rem;
color: white; color: white;
font-size: 0.875rem; font-size: 0.875rem;
line-height: 1.25rem; line-height: 1.3125rem;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
flex-shrink: 0; flex-shrink: 0;