@@ -112,7 +112,7 @@ pre.CodeMirror-line {
112
112
}
113
113
114
114
.Toggle-replace-btn-div {
115
- height : 40 px ;
115
+ height : #{ 40 / $base-font-size } rem ;
116
116
padding : 0 ;
117
117
}
118
118
@@ -122,20 +122,20 @@ pre.CodeMirror-line {
122
122
}
123
123
124
124
.CodeMirror-find-div {
125
- padding : 0 px ;
125
+ padding : 0 ;
126
126
display : flex ;
127
127
justify-content : flex-start ;
128
128
align-items : center ;
129
129
flex-wrap : nowrap ;
130
130
}
131
131
132
132
.CodeMirror-search-modifiers {
133
- margin-left : 10 px ;
133
+ margin-left : #{ 10 / $base-font-size } rem ;
134
134
}
135
135
136
136
.CodeMirror-search-results {
137
- margin : 0 px 20 px ;
138
- width : 75 px ;
137
+ margin : 0 #{ 20 / $base-font-size } rem ;
138
+ width : #{ 75 / $base-font-size } rem ;
139
139
font-size : #{12 / $base-font-size } rem;
140
140
}
141
141
@@ -154,14 +154,14 @@ pre.CodeMirror-line {
154
154
}
155
155
156
156
.CodeMirror-replace-options {
157
- width : 552 px ;
158
- height : 65 px ;
157
+ width : #{ 552 / $base-font-size } rem ;
158
+ height : #{ 65 / $base-font-size } rem ;
159
159
display : flex ;
160
160
justify-content : center ;
161
161
align-items : center ;
162
162
}
163
163
.CodeMirror-replace-options button {
164
- width : 200 px ;
164
+ width : #{ 200 / $base-font-size } rem ;
165
165
}
166
166
167
167
.CodeMirror-search-title {
@@ -261,8 +261,8 @@ pre.CodeMirror-line {
261
261
262
262
.CodeMirror-search-match {
263
263
background : gold ;
264
- border-top : 1 px solid orange ;
265
- border-bottom : 1 px solid orange ;
264
+ border-top : #{ 1 / $base-font-size } rem solid orange ;
265
+ border-bottom : #{ 1 / $base-font-size } rem solid orange ;
266
266
box-sizing : border-box ;
267
267
opacity : .5 ;
268
268
}
0 commit comments