From 24757e32d18f2a353d8b86058d3bc9a1cc1e678b Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Fri, 7 Oct 2022 15:11:53 +0200 Subject: [PATCH] [XFA] Add some padding inline in selects Because of https://bugzilla.mozilla.org/show_bug.cgi?id=1582545, the padding-inline is by default 0. 0 is not really enough because of the outline, so just set it to 2px (it was 4px before the patch) in order to have something visually correct. --- web/xfa_layer_builder.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/xfa_layer_builder.css b/web/xfa_layer_builder.css index 0ec9015df..c650adfc1 100644 --- a/web/xfa_layer_builder.css +++ b/web/xfa_layer_builder.css @@ -219,6 +219,10 @@ background-image: var(--xfa-unfocused-field-background); } +.xfaSelect { + padding-inline: 2px; +} + .xfaTop > .xfaTextfield, .xfaTop > .xfaSelect, .xfaBottom > .xfaTextfield,