This commit is contained in:
2025-10-26 19:46:32 +01:00
parent b6300ffa30
commit 01fb4e308a
2 changed files with 15 additions and 8 deletions
+6 -1
View File
@@ -4714,11 +4714,16 @@ const AppLayout = () => {
); );
if (['logged-out', 'authenticating', 'selecting-tenant'].includes(appStatus)) { if (['logged-out', 'authenticating', 'selecting-tenant'].includes(appStatus)) {
const shouldRememberLastLocation = appStatus !== 'logged-out';
return ( return (
<Navigate <Navigate
to="/account/login" to="/account/login"
replace replace
state={{ from: location.pathname + location.search }} state={
shouldRememberLastLocation
? { from: location.pathname + location.search }
: undefined
}
/> />
); );
} }
+9 -7
View File
@@ -399,7 +399,6 @@ button.danger:hover:not([disabled]) {
.documents-main { .documents-main {
flex: 1; flex: 1;
display: flex; display: flex;
grid-template-columns: 20rem minmax(0, 1fr);
min-height: 100vh; min-height: 100vh;
width: 100%; width: 100%;
position: relative; position: relative;
@@ -451,9 +450,10 @@ button.danger:hover:not([disabled]) {
font-size: 1rem; font-size: 1rem;
font-weight: 600; font-weight: 600;
color: var(--fg); color: var(--fg);
display: flex; display: inline-flex;
flex-direction: column; flex-wrap: wrap;
gap: 0.2rem; align-items: baseline;
gap: 0.5rem;
} }
.main-content__subtitle { .main-content__subtitle {
@@ -461,6 +461,7 @@ button.danger:hover:not([disabled]) {
color: var(--muted); color: var(--muted);
font-weight: 400; font-weight: 400;
line-height: 1.2; line-height: 1.2;
display: inline-flex;
} }
@@ -998,7 +999,9 @@ button.danger:hover:not([disabled]) {
box-shadow: inset -12px 0 24px -12px var(--shadow-faint); box-shadow: inset -12px 0 24px -12px var(--shadow-faint);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 20em;
max-width: 20em; max-width: 20em;
flex: 0 0 20em;
} }
.sidebar__body { .sidebar__body {
@@ -2354,9 +2357,8 @@ form.inline {
.doc-list__name-content span { .doc-list__name-content span {
max-width: 100%; max-width: 100%;
overflow: hidden; overflow-wrap: anywhere;
text-overflow: ellipsis; word-break: break-word;
white-space: nowrap;
} }
.preview-pane__nav-button svg { .preview-pane__nav-button svg {