fix: Update widget option button style to handle long text (#3030)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Brent 2021-09-19 17:42:54 +02:00 committed by GitHub
parent fa2db5a729
commit dcbbb09ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,10 +41,11 @@ export default {
@import '~widget/assets/scss/variables.scss';
.option {
border: 1px solid $color-woot;
border-radius: $space-jumbo;
border: 1px solid $color-woot;
float: left;
margin: $space-smaller;
max-width: 100%;
.option-button {
background: transparent;
@ -52,7 +53,11 @@ export default {
border: 0;
color: $color-woot;
cursor: pointer;
height: auto;
line-height: 1.5;
min-height: $space-two * 2;
text-align: left;
white-space: normal;
span {
display: inline-block;