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:
parent
fa2db5a729
commit
dcbbb09ebd
1 changed files with 6 additions and 1 deletions
|
@ -41,10 +41,11 @@ export default {
|
||||||
@import '~widget/assets/scss/variables.scss';
|
@import '~widget/assets/scss/variables.scss';
|
||||||
|
|
||||||
.option {
|
.option {
|
||||||
border: 1px solid $color-woot;
|
|
||||||
border-radius: $space-jumbo;
|
border-radius: $space-jumbo;
|
||||||
|
border: 1px solid $color-woot;
|
||||||
float: left;
|
float: left;
|
||||||
margin: $space-smaller;
|
margin: $space-smaller;
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
.option-button {
|
.option-button {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
@ -52,7 +53,11 @@ export default {
|
||||||
border: 0;
|
border: 0;
|
||||||
color: $color-woot;
|
color: $color-woot;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
height: auto;
|
||||||
|
line-height: 1.5;
|
||||||
|
min-height: $space-two * 2;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
white-space: normal;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in a new issue