File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
cms-live-preview/5.42.x/extensions/admin/src Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const { ContentEntry } = ContentEntryEditorConfig;
9
9
10
10
const SplitView = styled . div `
11
11
display: flex;
12
+ width: 95vw; // Remove this line in case you are using the legacy entry editor ("cmsLegacyEntryEditor" flag is equal to true).
12
13
> div {
13
14
flex: 1;
14
15
}
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ const LivePreviewContainer = styled.div`
7
7
display: flex;
8
8
flex-direction: column;
9
9
border-right: 1px solid var(--mdc-theme-on-background);
10
+
11
+ // Use a media query to disable the preview pane for screens under 960px wide (or any other preferred width).
12
+ // You can remove this line in case you are using the legacy entry editor ("cmsLegacyEntryEditor" flag is equal to true).
13
+ @media screen and (max-width: 960px) {
14
+ display: none;
15
+ }
10
16
` ;
11
17
12
18
const Location = styled . div `
You can’t perform that action at this time.
0 commit comments