TagSpaces is an offline, open source, document manager with tagging support
chore: fix ui glitches in stored searches
Ilian Sapundshievb3a4d344cd7b
diff --git a/app/components/RenderHistory.tsx b/app/components/RenderHistory.tsxindex 43659c144..a4414d44d 100644--- a/app/components/RenderHistory.tsx+++ b/app/components/RenderHistory.tsx@@ -57,7 +57,7 @@ export const renderHistory = (style={{ paddingLeft: 0 }}key={item.creationTimeStamp}>- <Grid item xs={10} style={{ width: '100%' }}>+ <Grid item xs={10} style={{ minWidth: 245, maxWidth: 245 }}><Buttondata-tid={key + 'TID' + dataTidFormat(itemName)}style={{diff --git a/app/components/StoredSearches.tsx b/app/components/StoredSearches.tsxindex 2acd60f69..03329bc8a 100644--- a/app/components/StoredSearches.tsx+++ b/app/components/StoredSearches.tsx@@ -24,16 +24,12 @@ import IconButton from '@mui/material/IconButton';import Button from '@mui/material/Button';import Grid from '@mui/material/Grid';import EditIcon from '@mui/icons-material/Edit';-import DeleteIcon from '@mui/icons-material/RemoveCircleOutline';-import BookmarkTwoToneIcon from '@mui/icons-material/BookmarkTwoTone';import MenuIcon from '@mui/icons-material/MoreVert';import SearchIcon from '@mui/icons-material/FilterAltTwoTone';-import HistoryIcon from '@mui/icons-material/ChangeHistoryTwoTone';import ArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';import ArrowRightIcon from '@mui/icons-material/KeyboardArrowRight';import Typography from '@mui/material/Typography';import ListItem from '@mui/material/ListItem';-import AppConfig from '-/AppConfig';import {actions as LocationIndexActions,getSearchQuery@@ -54,12 +50,6 @@ import { actions as SearchActions, getSearches } from '-/reducers/searches';import { TS } from '-/tagspaces.namespace';import SearchMenu from '-/components/menus/SearchMenu';import { actions as AppActions, getCurrentLocationId } from '-/reducers/app';-import { Tooltip } from '@mui/material';-import {- extractFileName,- extractDirectoryName-} from '@tagspaces/tagspaces-common/paths';-import PlatformIO from '-/services/platform-facade';import HistoryMenu from '-/components/menus/HistoryMenu';import BookmarksMenu from '-/components/menus/BookmarksMenu';import { renderHistory } from '-/components/RenderHistory';@@ -215,7 +205,8 @@ function StoredSearches(props: Props) {paddingTop: 0,marginTop: 0,height: 'calc(100% - ' + reduceHeightBy + 'px)',- overflowY: 'auto'+ overflowY: 'auto',+ overflowX: 'hidden'}}><Grid container direction="row">@@ -284,7 +275,7 @@ function StoredSearches(props: Props) {{props.storedSearchesVisible &&props.searches.map(search => (<ListItem dense style={{ paddingLeft: 0 }} key={search.uuid}>- <Grid item xs={10} style={{ width: '100%' }}>+ <Grid item xs={10} style={{ width: 250 }}><Buttondata-tid={'StoredSearchTID' +