Fix code app present mode on mobile #460

pull/1/head
yflory 4 years ago
parent c011b3045c
commit 92bc7e29dd

@ -129,6 +129,19 @@
}
@media (max-width: @browser_media-medium-screen) {
#cp-app-code-editor {
&.cp-app-code-present {
#cp-app-code-container { display: none !important; }
#cp-app-code-preview {
flex: 1;
max-width: 100%;
border: 0;
#cp-app-code-preview-content {
margin: 10px;
}
}
}
&:not(.cp-app-code-present) {
#cp-app-code-container {
flex: 1;
max-width: 100%;
@ -138,6 +151,8 @@
display: none !important;
}
}
}
}
#cp-app-code-print {
position: relative;
display: none;

Loading…
Cancel
Save