myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: fix: unwanted margin on button icon
Date Wed, 01 Apr 2020 14:21:35 GMT
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 6f9f051  fix: unwanted margin on button icon
6f9f051 is described below

commit 6f9f051e93a8eedc2be5956326da76c65c1c1283
Author: Henning Nöth <hnoeth@apache.org>
AuthorDate: Wed Apr 1 15:38:11 2020 +0200

    fix: unwanted margin on button icon
    
    The style for the datepickerbutton was applied to all buttons with an icon. Now the style
only affects the datepicker button
---
 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 41e112b..8c57102 100644
--- a/tobago-core/src/main/resources/scss/_tobago.scss
+++ b/tobago-core/src/main/resources/scss/_tobago.scss
@@ -235,7 +235,7 @@ tobago-date input {
 }
 
 /* for pickers with more than one icon, e.g. date-time picker */
-.btn > .fa:nth-child(n+2) {
+.btn.datepickerbutton > .fa:nth-child(n+2) {
   margin-left: .3em;
 }
 


Mime
View raw message