mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 16:32:19 +00:00
Merge pull request #10705 from overleaf/ii-dashboard-layout-shift
[web] Prevent layout shift GitOrigin-RevId: 6f1e2a5b81994bf3c101b83980cc74e7b60ccabf
This commit is contained in:
parent
8537a37020
commit
997f89c6d6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue