From 997f89c6d6a3c31567c9063d5c1aa4e0c406e394 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Wed, 30 Nov 2022 10:03:13 -0600 Subject: [PATCH] Merge pull request #10705 from overleaf/ii-dashboard-layout-shift [web] Prevent layout shift GitOrigin-RevId: 6f1e2a5b81994bf3c101b83980cc74e7b60ccabf --- services/web/frontend/stylesheets/core/mixins.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/stylesheets/core/mixins.less b/services/web/frontend/stylesheets/core/mixins.less index 87cb85d989..1915e060bf 100755 --- a/services/web/frontend/stylesheets/core/mixins.less +++ b/services/web/frontend/stylesheets/core/mixins.less @@ -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;