mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
Middle Header: Fix jumping toast notification (#2012)
This commit is contained in:
parent
b3c1c41b26
commit
63fac1f6be
@ -2,18 +2,22 @@
|
||||
position: relative;
|
||||
width: 24rem;
|
||||
max-width: 100vw;
|
||||
margin: 0.25rem auto;
|
||||
margin: 4.25rem auto 0.25rem;
|
||||
z-index: var(--z-notification);
|
||||
|
||||
.has-header-tools & {
|
||||
margin-top: 7.375rem;
|
||||
}
|
||||
|
||||
@media (min-width: 1276px) {
|
||||
transition: transform var(--layer-transition);
|
||||
}
|
||||
|
||||
&:first-of-type {
|
||||
margin-top: 4.25rem;
|
||||
& ~ & {
|
||||
margin-top: 0.25rem;
|
||||
|
||||
.has-header-tools & {
|
||||
margin-top: 7.375rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user