fix: Fixed issue where dropdowns in preferences would not be visible

This commit is contained in:
Aman Harwara
2023-01-30 20:19:23 +05:30
parent f463ca4e8d
commit c29e0f511d
3 changed files with 15 additions and 0 deletions

View File

@@ -99,6 +99,9 @@ const EditorDefaults = ({ application }: Props) => {
items={fontSizeDropdownOptions}
value={fontSize}
onChange={handleFontSizeChange}
classNameOverride={{
popover: '!z-modal',
}}
/>
</div>
</div>
@@ -113,6 +116,9 @@ const EditorDefaults = ({ application }: Props) => {
items={lineHeightDropdownOptions}
value={lineHeight}
onChange={handleLineHeightChange}
classNameOverride={{
popover: '!z-modal',
}}
/>
</div>
</div>