style: increase sidebar search input hitbox
Increase the padding of the sidebar search input. Fixes linked issue. refs #6529 Signed-off-by: Alexander Klein <x.klein.14@gmail.com> Signed-off-by: Alexander Klein <alexander.klein@logmein.com>
This commit is contained in:
@@ -97,6 +97,9 @@ const useStyles = makeStyles<BackstageTheme>(theme => {
|
||||
fontWeight: 'bold',
|
||||
fontSize: theme.typography.fontSize,
|
||||
},
|
||||
searchFieldHTMLInput: {
|
||||
padding: '15px 0 17px',
|
||||
},
|
||||
searchContainer: {
|
||||
width: drawerWidthOpen - iconContainerWidth,
|
||||
},
|
||||
@@ -271,6 +274,9 @@ export const SidebarSearchField = (props: SidebarSearchFieldProps) => {
|
||||
disableUnderline: true,
|
||||
className: classes.searchField,
|
||||
}}
|
||||
inputProps={{
|
||||
className: classes.searchFieldHTMLInput,
|
||||
}}
|
||||
/>
|
||||
</SidebarItem>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user