File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
src/components/NcInputField Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,20 @@ function handleInput(event: Event) {
345
345
color : var (--color-text-maxcontrast );
346
346
}
347
347
348
+ // prevent Blink and WebKit to add an additional button when type is set to search
349
+ // we have our properly styled trailing button anyways.
350
+ & ::-webkit-search-cancel-button {
351
+ // its a weird bug in Blink that this rule must not be grouped with the other selectors below.
352
+ // otherwise it is not recognized by Blink
353
+ display : none ;
354
+ }
355
+ & ::-webkit-search-decoration ,
356
+ & ::-webkit-search-results-button ,
357
+ & ::-webkit-search-results-decoration ,
358
+ & ::-ms-clear {
359
+ display : none ;
360
+ }
361
+
348
362
& :active:not ([disabled ]),
349
363
& :hover:not ([disabled ]),
350
364
& :focus:not ([disabled ]) {
You can’t perform that action at this time.
0 commit comments