Skip to content

Commit

Permalink
Center text on save button
Browse files Browse the repository at this point in the history
Removed padding from save button so foreign languages will be nicely
centred.
  • Loading branch information
conradhagemans committed Jan 25, 2016
1 parent edebc05 commit 5c52490
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions resources/themes/classic/compiled/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@
#gdSaveBtn {
background: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#efefef), color-stop(0.5, #efefef), color-stop(0.5, #efefef));
background: -moz-linear-gradient(bottom, #dfdfdf, #efefef);
padding: 4px;
/* padding: 4px; Conrad Hagemans 2016-01-20 removed to center text on button */
border: 1px solid #cccccc;
padding: 5px 17px;
/* padding: 5px 17px; Conrad Hagemans 2016-01-20 removed to center text on button */
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
line-height: 22px;
Expand Down
4 changes: 2 additions & 2 deletions resources/themes/classic/compiled/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions resources/themes/classic/sass/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@
#gdSaveBtn {
background: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#efefef), color-stop(0.5, #efefef), color-stop(0.5, #efefef));
background: -moz-linear-gradient(bottom, #dfdfdf, #efefef);
padding: 4px;
/* padding: 4px; Conrad Hagemans 2016-01-20 removed to center text on button */
border: 1px solid #cccccc;
padding: 5px 17px;
/* padding: 5px 17px; Conrad Hagemans 2016-01-20 removed to center text on button */
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
line-height: 22px;
Expand Down

0 comments on commit 5c52490

Please sign in to comment.