Skip to content

Commit a41f188

Browse files
committed
Hide full width on mobile option for backdrop elements
REDMINE-20853
1 parent f01c506 commit a41f188

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

entry_types/scrolled/package/src/editor/views/configurationEditors/groups/CommonContentElementAttributes.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ ConfigurationEditorTabView.groups.define('ContentElementPosition', function() {
4747
attributeTranslationKeyPrefixes: ['pageflow_scrolled.editor.common_content_element_attributes'],
4848
disabledBinding: 'width',
4949
disabled: () => contentElement.getWidth() === 3,
50-
displayCheckedIfDisabled: true
50+
displayCheckedIfDisabled: true,
51+
visibleBinding: 'position',
52+
visible: () => contentElement.getPosition() !== 'backdrop'
5153
});
5254
}
5355
});

0 commit comments

Comments
 (0)