Unverified Commit 8b4e6806 authored by lauriii's avatar lauriii
Browse files

Issue #3213118 by Gauravmahlawat, Sakthivel M, Akhildev.cs, mherchel: Olivero:...

Issue #3213118 by Gauravmahlawat, Sakthivel M, Akhildev.cs, mherchel: Olivero: Mobile sub-navigation menus slightly offset subsequent menu links when hidden

(cherry picked from commit 9a746491)
parent 71a1a0a7
...@@ -287,6 +287,8 @@ ...@@ -287,6 +287,8 @@
overflow: hidden; overflow: hidden;
flex-basis: 100%; flex-basis: 100%;
max-height: 0; max-height: 0;
margin-top: 0;
margin-bottom: 0;
transition: opacity 0.2s, visibility 0.2s, max-height 0.2s; transition: opacity 0.2s, visibility 0.2s, max-height 0.2s;
opacity: 0 opacity: 0
} }
......
...@@ -150,6 +150,7 @@ ...@@ -150,6 +150,7 @@
overflow: hidden; overflow: hidden;
flex-basis: 100%; flex-basis: 100%;
max-height: 0; max-height: 0;
margin-block: 0;
margin-inline-start: calc(-1 * var(--sp)); margin-inline-start: calc(-1 * var(--sp));
padding-inline-start: var(--sp2-5); padding-inline-start: var(--sp2-5);
transition: opacity 0.2s, visibility 0.2s, max-height 0.2s; transition: opacity 0.2s, visibility 0.2s, max-height 0.2s;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment