mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
fixing large text in selected dropdown not visible (#2630)
* fixing large text in selected dropdown not visible * bugfix
This commit is contained in:
parent
05edf4bcf0
commit
3f9c718fda
1 changed files with 4 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ export const DropDown = function DropDown({
|
|||
':hover': {
|
||||
backgroundColor: state.value === currentValue ? '#1F2E64' : '#323C4B',
|
||||
},
|
||||
maxWidth: 'auto',
|
||||
minWidth: 'max-content',
|
||||
}
|
||||
: {
|
||||
backgroundColor: state.value === currentValue ? '#7A95FB' : 'white',
|
||||
|
|
@ -115,6 +117,8 @@ export const DropDown = function DropDown({
|
|||
':hover': {
|
||||
backgroundColor: state.value === currentValue ? '#3650AF' : '#d8dce9',
|
||||
},
|
||||
maxWidth: 'auto',
|
||||
minWidth: 'max-content',
|
||||
};
|
||||
return {
|
||||
...provided,
|
||||
|
|
|
|||
Loading…
Reference in a new issue