File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,13 @@ pre.CodeMirror-line {
91
91
left : 50% ;
92
92
margin-left : - #{552 / 2 / $base-font-size } rem;
93
93
94
+ @media (max-width : 770px ) {
95
+ left : 0 ;
96
+ right : 0 ;
97
+ width : 100% ;
98
+ margin-left : 0 ;
99
+ }
100
+
94
101
// z-index: 20;
95
102
96
103
width : 580px ;
@@ -123,10 +130,6 @@ pre.CodeMirror-line {
123
130
height : 100% ;
124
131
}
125
132
126
- .CodeMirror-search-modifiers {
127
- margin-left : #{10 / $base-font-size } rem;
128
- }
129
-
130
133
.CodeMirror-search-results {
131
134
margin : 0 #{20 / $base-font-size } rem;
132
135
width : #{75 / $base-font-size } rem;
@@ -135,6 +138,7 @@ pre.CodeMirror-line {
135
138
136
139
.CodeMirror-find-controls {
137
140
display : flex ;
141
+ align-items : center ;
138
142
}
139
143
.CodeMirror-search-inputs {
140
144
width : 30% ;
@@ -151,6 +155,11 @@ pre.CodeMirror-line {
151
155
flex-wrap : wrap-reverse ;
152
156
justify-content : flex-start ;
153
157
align-items : flex-end ;
158
+
159
+ @media (max-width : 770px ) {
160
+ align-items : center ;
161
+ justify-content : end ;
162
+ }
154
163
}
155
164
.CodeMirror-replace-controls {
156
165
display : flex ;
@@ -211,6 +220,11 @@ pre.CodeMirror-line {
211
220
display : flex ;
212
221
justify-content : flex-end ;
213
222
align-items : center ;
223
+ margin-left : #{10 / $base-font-size } rem;
224
+
225
+ @media (max-width : 770px ) {
226
+ display : none ;
227
+ }
214
228
}
215
229
216
230
.CodeMirror-regexp-button ,
You can’t perform that action at this time.
0 commit comments