Skip to content

Commit

Permalink
Merge pull request #71 from curationexperts/button-word-wrapping
Browse files Browse the repository at this point in the history
Update button styling
  • Loading branch information
little9 committed Dec 31, 2019
2 parents b8e31eb + d7e08d7 commit 0409d7d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 10 additions & 0 deletions app/assets/stylesheets/zizia/_button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* In general we want buttons to use work wrap in the UI */
.btn {
white-space: normal !important;
word-wrap: break-word;
}

/* This is for the Go button */
#search-submit-header {
white-space: unset !important;
}
6 changes: 1 addition & 5 deletions app/assets/stylesheets/zizia/zizia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@
@import 'field_guide';
@import 'new';
@import 'import_table';

.btn {
white-space:normal !important;
word-wrap: break-word;
}
@import 'button';

0 comments on commit 0409d7d

Please sign in to comment.