@@ -112,7 +112,7 @@ pre.CodeMirror-line {
112112}
113113
114114.Toggle-replace-btn-div {
115- height : 40 px ;
115+ height : #{ 40 / $base-font-size } rem ;
116116 padding : 0 ;
117117}
118118
@@ -122,20 +122,20 @@ pre.CodeMirror-line {
122122}
123123
124124.CodeMirror-find-div {
125- padding : 0 px ;
125+ padding : 0 ;
126126 display : flex ;
127127 justify-content : flex-start ;
128128 align-items : center ;
129129 flex-wrap : nowrap ;
130130}
131131
132132.CodeMirror-search-modifiers {
133- margin-left : 10 px ;
133+ margin-left : #{ 10 / $base-font-size } rem ;
134134}
135135
136136.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 ;
139139 font-size : #{12 / $base-font-size } rem;
140140}
141141
@@ -154,14 +154,14 @@ pre.CodeMirror-line {
154154}
155155
156156.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 ;
159159 display : flex ;
160160 justify-content : center ;
161161 align-items : center ;
162162}
163163.CodeMirror-replace-options button {
164- width : 200 px ;
164+ width : #{ 200 / $base-font-size } rem ;
165165}
166166
167167.CodeMirror-search-title {
@@ -261,8 +261,8 @@ pre.CodeMirror-line {
261261
262262.CodeMirror-search-match {
263263 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 ;
266266 box-sizing : border-box ;
267267 opacity : .5 ;
268268}
0 commit comments