mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
UX: only transition header on sidebar toggle (#17646)
This commit is contained in:
parent
6df36247c1
commit
235878033e
@ -18,8 +18,10 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@media (prefers-reduced-motion: no-preference) {
|
@media (prefers-reduced-motion: no-preference) {
|
||||||
transition: padding-left var(--d-sidebar-animation-time)
|
.sidebar-animate & {
|
||||||
var(--d-sidebar-animation-ease) !important; // only works with an important... :/
|
transition: padding-left var(--d-sidebar-animation-time)
|
||||||
|
var(--d-sidebar-animation-ease) !important; // only works with an important... :/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.contents {
|
.contents {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user