mirror of https://github.com/xwiki-labs/cryptpad
Fix codemirror width with small screens in the code app
This commit is contained in:
parent
4377f2cee7
commit
0080dd7624
|
@ -98,7 +98,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: @browser_media-medium-screen) {
|
@media (max-width: @browser_media-medium-screen) {
|
||||||
.CodeMirror {
|
#cp-app-code-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
@ -106,6 +106,6 @@
|
||||||
#cp-app-code-preview {
|
#cp-app-code-preview {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue