fix: dropdown overflow in markdown widget (#5879)

This commit is contained in:
Pramod 2021-10-28 19:55:34 +05:30 committed by GitHub
parent e5ad5e8ad1
commit 3ec161122d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,7 @@ import schema from './schema';
function visualEditorStyles({ minimal }) { function visualEditorStyles({ minimal }) {
return ` return `
position: relative; position: relative;
overflow: hidden; overflow: auto;
overflow-x: auto;
font-family: ${fonts.primary}; font-family: ${fonts.primary};
min-height: ${minimal ? 'auto' : lengths.richTextEditorMinHeight}; min-height: ${minimal ? 'auto' : lengths.richTextEditorMinHeight};
border-top-left-radius: 0; border-top-left-radius: 0;