mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	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:
		@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user