Skip to content
Permalink
Browse files

[FIX] website_snippet_big_button: Wrap big buttons content

Without this patch, a big button with a lot of content will fail to
render properly in phones.
  • Loading branch information...
Yajo committed Aug 19, 2019
1 parent a827d1f commit 0a194e1c3a1381b533c17acccd3b19d76c33801c
Showing with 14 additions and 8 deletions.
  1. +14 −8 website_snippet_big_button/static/src/scss/website_snippet_big_button.scss
@@ -2,14 +2,20 @@
// Copyright 2019 Tecnativa - Cristina Martin R.
// License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

.big-buttons a {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;

> .d-block {
.big-buttons {
.btn {
white-space: normal;
}

a {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;

> .d-block {
white-space: normal;
}
}
}

0 comments on commit 0a194e1

Please sign in to comment.
You can’t perform that action at this time.