mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #10705 from overleaf/ii-dashboard-layout-shift
[web] Prevent layout shift GitOrigin-RevId: 6f1e2a5b81994bf3c101b83980cc74e7b60ccabf
This commit is contained in:
@@ -807,7 +807,7 @@
|
||||
}
|
||||
.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius)
|
||||
when(@is-new-css = true) {
|
||||
padding: @padding-vertical - @border-size @padding-horizontal;
|
||||
padding: @padding-vertical - round(@border-size) @padding-horizontal;
|
||||
font-size: @font-size;
|
||||
line-height: @line-height;
|
||||
border-radius: @border-radius;
|
||||
|
||||
Reference in New Issue
Block a user