Skip to content

Commit 96c5470

Browse files
authored
Merge pull request #3037 from Parikshit2001/develop
Fixed SearchBox styling Issue
2 parents 38ba23f + e7637de commit 96c5470

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

client/styles/components/_editor.scss

+9-4
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pre.CodeMirror-line {
9191
position: fixed;
9292
top: 0;
9393
left: 50%;
94-
margin-left: math.div(552 * 0.5, $base-font-size);
94+
margin-left: #{math.div(-552 * 0.5, $base-font-size)}rem;
9595

9696
@media (max-width: 770px) {
9797
left: 0;
@@ -100,7 +100,7 @@ pre.CodeMirror-line {
100100
margin-left: 0;
101101
}
102102

103-
z-index: 1;
103+
z-index: 10;
104104

105105
width: 580px;
106106
font-family: Montserrat, sans-serif;
@@ -139,8 +139,11 @@ pre.CodeMirror-line {
139139
}
140140

141141
.CodeMirror-find-controls {
142+
width: 100%;
142143
display: flex;
143144
align-items: center;
145+
justify-content: space-between;
146+
height: #{math.div(35, $base-font-size)}rem;
144147
}
145148
.CodeMirror-search-inputs {
146149
width: 30%;
@@ -152,9 +155,11 @@ pre.CodeMirror-line {
152155
align-items: center;
153156
}
154157
.CodeMirror-search-controls {
158+
width: 60%;
155159
display: flex;
156-
align-items: center;
157-
justify-content: end;
160+
flex-wrap: wrap-reverse;
161+
justify-content: flex-start;
162+
align-items: flex-end;
158163
}
159164
.CodeMirror-replace-controls {
160165
display: flex;

0 commit comments

Comments
 (0)