Skip to content

Commit fd7f34c

Browse files
committed
layout fix for large transaction page
1 parent ab0c121 commit fd7f34c

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

auth-web/src/assets/scss/layout.scss

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@
8989
border-radius: 5px 5px 0 0;
9090
}
9191

92-
// Expand just for the transactions page.
92+
// Expand just for the standalone transactions page, but not on staff dashboard.
93+
// Exclude any transaction containers within expansion panels
9394
.transaction-container .container,
9495
.transaction-container .v-container,
9596
.transaction-container .view-container,
@@ -98,6 +99,15 @@
9899
max-width: 90% !important;
99100
}
100101

102+
// Remove the expansion for transactions within expansion panels (staff dashboard)
103+
.v-expansion-panel .transaction-container .container,
104+
.v-expansion-panel .transaction-container .v-container,
105+
.v-expansion-panel .transaction-container .view-container,
106+
.v-expansion-panel .transaction-container .app-body,
107+
.v-expansion-panel .transaction-container .v-app {
108+
max-width: 1360px !important; // Reset to default
109+
}
110+
101111
.app-body .transaction-container ~ .container,
102112
.app-body .transaction-container ~ .v-container,
103113
.app-body .transaction-container ~ .view-container {
@@ -109,3 +119,10 @@
109119
.app-body:has(.transaction-container) .view-container {
110120
max-width: 90% !important;
111121
}
122+
123+
// Reset for expansion panels
124+
.app-body:has(.v-expansion-panel .transaction-container) .container,
125+
.app-body:has(.v-expansion-panel .transaction-container) .v-container,
126+
.app-body:has(.v-expansion-panel .transaction-container) .view-container {
127+
max-width: 1360px !important; // Reset to default
128+
}

0 commit comments

Comments
 (0)