You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/03/20 07:09:58 UTC
[myfaces-tobago] 02/02: fix button label margin for i-tag
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
commit 332fd9785107746d8dd68526cab2e923402b0348
Author: Jasmin Kroeger <ja...@irian.eu>
AuthorDate: Thu Mar 19 17:56:54 2020 +0100
fix button label margin for i-tag
A tobago-behavior is now rendered inside a button. Because of that, the old CSS rule was leading to an unwanted margin-left on the button label.
The CSS rule is now adjusted for i-tag with a span
---
tobago-core/src/main/resources/scss/_tobago.scss | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tobago-core/src/main/resources/scss/_tobago.scss b/tobago-core/src/main/resources/scss/_tobago.scss
index 8976f1e..e792703 100644
--- a/tobago-core/src/main/resources/scss/_tobago.scss
+++ b/tobago-core/src/main/resources/scss/_tobago.scss
@@ -174,6 +174,9 @@ $form-disabled-alpha: 0.5;
> img + span {
margin-left: .4em;
}
+ > i + span {
+ margin-left: .4em;
+ }
}
/* button -------------------------------------------------------------- */