mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
UX: don't animate experimental sidebar on reload (#17372)
This commit is contained in:
parent
d037796ff4
commit
7d3b22135c
@ -187,15 +187,6 @@ input {
|
||||
}
|
||||
}
|
||||
|
||||
#main-outlet-wrapper {
|
||||
// grid-template-columns transition supported in Firefox, Chrome support coming summer 2022
|
||||
transition: grid-template-columns var(--d-sidebar-animation-time);
|
||||
}
|
||||
|
||||
.d-header-wrap .wrap {
|
||||
transition: max-width var(--d-sidebar-animation-time);
|
||||
}
|
||||
|
||||
body.has-sidebar-page {
|
||||
.wrap {
|
||||
// increase page max-width to accommodate sidebar width
|
||||
@ -213,6 +204,11 @@ body.has-sidebar-page {
|
||||
|
||||
body.sidebar-animate {
|
||||
#main-outlet-wrapper {
|
||||
transition: all var(--d-sidebar-animation-time);
|
||||
// grid-template-columns transition supported in Firefox, Chrome support coming summer 2022
|
||||
transition: grid-template-columns var(--d-sidebar-animation-time);
|
||||
}
|
||||
|
||||
.d-header-wrap .wrap {
|
||||
transition: max-width var(--d-sidebar-animation-time);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user