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

@@ -133,6 +133,9 @@ const Appearance: FunctionComponent<Props> = ({ application }) => {
value={autoLightTheme}
onChange={changeAutoLightTheme}
disabled={!useDeviceSettings}
classNameOverride={{
popover: '!z-modal',
}}
/>
</div>
</div>
@@ -148,6 +151,9 @@ const Appearance: FunctionComponent<Props> = ({ application }) => {
value={autoDarkTheme}
onChange={changeAutoDarkTheme}
disabled={!useDeviceSettings}
classNameOverride={{
popover: '!z-modal',
}}
/>
</div>
</div>

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>

View File

@@ -124,6 +124,9 @@ const EmailBackups = ({ application }: Props) => {
items={emailFrequencyOptions}
value={emailFrequency}
onChange={handleEmailFrequencyChange}
classNameOverride={{
popover: '!z-modal',
}}
/>
)}
</div>