diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 9723009964a..d12a1e95d09 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -1420,13 +1420,20 @@ font-family: $o-we-sidebar-content-field-input-font-family; } tr { + // Since the sortable list's loses its connection with + // the table when dragged, the with the input no longer + // takes up the full width, causing a visual issue. To solve + // this problem, we added the 'flex' display property. + display: flex; + align-items: center; border: none; } td { + flex-grow: 1; padding-bottom: $o-we-sidebar-content-field-spacing / 2; &:not(.o_we_list_record_name) { - width: 1px; + flex-grow: 0; } we-button.o_we_checkbox_wrapper {