Files
react/packages/react-devtools-shared/src/devtools/views/SearchInput.css
BIKI DAS 53ac219378 Devtools:-Removed unused CSS (#27032)
I tried to check out for the CSS bundle using the
[eslint-plugin-css-modules](https://www.npmjs.com/package/eslint-plugin-css-modules),
and ran it locally , seems like There are lot of unused styles and
classes present .
I have attached the output below after running the lint command.

https://gist.github.com/Biki-das/647ceb7383b43cca9c8619e1dc33fe0d

All the shared.css files should not be touched i feel as they are being
used randomly by some file

Thoughts @hoxyq
2023-07-03 12:16:04 +01:00

39 lines
633 B
CSS

.SearchInput {
flex: 1 1;
display: flex;
align-items: center;
}
.Input {
flex: 1 1 100px;
width: 100px;
font-size: var(--font-size-sans-large);
outline: none;
border: none;
background-color: var(--color-background);
color: var(--color-text);
padding-left: 1.5rem;
margin-left: -1rem;
}
.InputIcon {
pointer-events: none;
z-index: 2;
color: var(--color-dimmer);
}
.IndexLabel {
color: var(--color-dim);
font-size: var(--font-size-sans-normal);
white-space: pre;
}
.LeftVRule{
height: 20px;
width: 1px;
background-color: var(--color-border);
}
.LeftVRule {
margin: 0 0.25rem 0 0.5rem;
}