Skip to content

TagSpaces is an offline, open source, document manager with tagging support

feat: enable open in full width mode for folders

Ilian Sapundshiev23ce95ce5053
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 63d0f3e82..5dae3925f 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -787,6 +787,20 @@ const EntryContainer = (props: Props) => {
<RefreshIcon />
</IconButton>
</Tooltip>
+ {props.isDesktopMode && (
+ <Tooltip title={i18n.t('core:openInFullWidth')}>
+ <IconButton
+ data-tid="openInFullWidthTID"
+ aria-label={i18n.t('core:openInFullWidth')}
+ onClick={() => {
+ props.toggleEntryFullWidth();
+ closePanel();
+ }}
+ >
+ <ExpandIcon />
+ </IconButton>
+ </Tooltip>
+ )}
{!props.isReadOnlyMode && (
<Tooltip title={i18n.t('core:deleteDirectory')}>
<IconButton