Fix/setting buttons unclickable area (#379)
* Move "onClick" handler to "ListItemButton" - LibrarySettings "global update categories" Clicks were only handled on the button content leading to a small area around the content to not handle the clicks, thus, not opening the dialog * Move "onClick" handler to "ListItemButton" - Settings "manga item width" Clicks were only handled on the button content leading to a small area around the content to not handle the clicks, thus, not opening the dialog
This commit is contained in:
@@ -139,17 +139,15 @@ export default function Settings() {
|
||||
</ListItemSecondaryAction>
|
||||
</ListItem>
|
||||
<SearchSettings />
|
||||
<ListItemButton>
|
||||
<ListItemButton
|
||||
onClick={() => {
|
||||
handleDialogOpenItemWidth();
|
||||
}}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<ViewModuleIcon />
|
||||
</ListItemIcon>
|
||||
<ListItemText
|
||||
primary={t('settings.label.manga_item_width')}
|
||||
secondary={`px:${ItemWidth}`}
|
||||
onClick={() => {
|
||||
handleDialogOpenItemWidth();
|
||||
}}
|
||||
/>
|
||||
<ListItemText primary={t('settings.label.manga_item_width')} secondary={`px:${ItemWidth}`} />
|
||||
</ListItemButton>
|
||||
<ListItem>
|
||||
<ListItemIcon>
|
||||
|
||||
Reference in New Issue
Block a user