fix(admin): restore broken table styling after focused-modules refactor
The c7eeaf6 refactor split the monolithic AdminPage into AdminStatsBar,
AdminOrdersTable, and AdminOrderDetailPanel. All CSS rules for the admin
sub-components were left in AdminPage.vue's `<style scoped>` block. Vue 3
scoped styles only apply to elements in the parent's own template — they
do not penetrate multi-root child components. Every element rendered by
the extracted sub-components lost its styling (stats grid, table layout,
column widths, status badges, expand icons, row highlighting, expanded
detail panels, etc.), making the admin page appear visually broken.
Changes:
- frontend/src/pages/AdminPage.vue: remove `scoped` attribute from the
`<style>` block. All selectors are BEM-namespaced under `.admin__*`
so making them global is safe and is the minimal fix.
Visual verification: N/A (sandbox cannot reach production). See git diff
for the one-character change.
This commit is contained in:
parent
c88fa142d3
commit
4b35d8ff30
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ onUnmounted(() => {
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style>
|
||||||
.admin {
|
.admin {
|
||||||
max-width: 72rem;
|
max-width: 72rem;
|
||||||
margin: var(--space-2xl) auto 0;
|
margin: var(--space-2xl) auto 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue