Skip to content

Commit 2b6eec8

Browse files
committed
Fix microsoft#68977 - search input has unnecessary padding
1 parent 434407d commit 2b6eec8

4 files changed

Lines changed: 4 additions & 11 deletions

File tree

src/vs/base/browser/ui/findinput/findInput.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
width: 100%;
1414
}
1515

16+
.monaco-findInput .monaco-inputbox > .wrapper > .input {
17+
width: 100% !important;
18+
}
19+
1620
.monaco-findInput > .controls {
1721
position: absolute;
1822
top: 3px;

src/vs/editor/contrib/find/findWidget.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@
7979
height: 25px;
8080
}
8181

82-
.monaco-editor .find-widget > .find-part .monaco-inputbox > .wrapper > .input {
83-
width: 100% !important;
84-
}
8582
.monaco-editor .find-widget > .find-part .monaco-inputbox > .wrapper > .input,
8683
.monaco-editor .find-widget > .replace-part .monaco-inputbox > .wrapper > .input {
8784
padding-top: 2px;

src/vs/editor/contrib/find/simpleFindWidget.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
flex: 1;
4040
}
4141

42-
.monaco-workbench .simple-find-part .monaco-findInput .monaco-inputbox .wrapper .input {
43-
width: 100% !important;
44-
}
45-
4642
.monaco-workbench .simple-find-part .button {
4743
min-width: 20px;
4844
width: 20px;

src/vs/workbench/contrib/terminal/browser/terminalFindWidget.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
6-
.monaco-workbench .simple-find-part .monaco-inputbox > .wrapper > .input {
7-
width: 100% !important;
8-
}

0 commit comments

Comments
 (0)