Commit 948d0fc
Navigation block: fix padding on mobile overlay when global padding is 0 (#53725)
* force min value for padding to be 2rem
* fallback for when the css variables are not defined
* Allow the padding to be smaller than 2rem
* Add fix to avoid trigger hover state on links when overlay opens
---------
Co-authored-by: scruffian <ben@scruffian.com>
Co-authored-by: Dave Smith <getdavemail@gmail.com>1 parent 8602fc1 commit 948d0fc
File tree
2 files changed
+8
-4
lines changed- test/e2e/specs/editor/blocks
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
416 | 420 | | |
417 | 421 | | |
418 | 422 | | |
| |||
0 commit comments