Skip to content

Commit

Permalink
fix(style): Add nowrap to button (#46)
Browse files Browse the repository at this point in the history
Hi.

In my opinion, the `Cookie_button` should have the `white-space: nowrap;` style in order to prevent multi line "Got it!" button, when the cookie message is very long.

Before:
![image](https://user-images.githubusercontent.com/2781191/52949072-8fea4600-337b-11e9-9dc3-f021c3f089b9.png)

After:
![image](https://user-images.githubusercontent.com/2781191/52949095-9d9fcb80-337b-11e9-904e-252ed09ad949.png)
  • Loading branch information
brugnara authored and apertureless committed Mar 18, 2019
1 parent d30f447 commit b155e85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CookieLaw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
.Cookie__button {
cursor: pointer;
align-self: center;
white-space: nowrap;
}
@mixin generateTheme($theme, $backgroundColor, $fontColor, $buttonBackgroundColor, $buttonFontColor: #fff, $buttonRadius: 0) {
Expand Down

0 comments on commit b155e85

Please sign in to comment.