You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2020/03/17 13:59:33 UTC
[myfaces-tobago] branch master updated: fix button label margin
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 2abe446 fix button label margin
2abe446 is described below
commit 2abe446a2481c0fe8dbebdfda07df319cbafd00f
Author: Jasmin Kroeger <ja...@irian.eu>
AuthorDate: Tue Mar 17 13:06:37 2020 +0100
fix button label margin
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.
---
tobago-core/src/main/resources/scss/_tobago.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tobago-core/src/main/resources/scss/_tobago.scss b/tobago-core/src/main/resources/scss/_tobago.scss
index dd11466..8976f1e 100644
--- a/tobago-core/src/main/resources/scss/_tobago.scss
+++ b/tobago-core/src/main/resources/scss/_tobago.scss
@@ -171,7 +171,7 @@ $form-disabled-alpha: 0.5;
/* button, link ------------------------------------------------------- */
.tobago-button, .tobago-link {
- > :nth-child(n+2) {
+ > img + span {
margin-left: .4em;
}
}