815 B
815 B
Stack View Consistency Fix
Objective
Ensure the Stack View pack container has the same visual styling (background, border, shadow, header) as the List and Grid views.
User Request
"the stacked view region graphic is not consistent with the other views, the container region is missing"
Implementation
- Modified
src/client/src/components/PackCard.tsx. - Removed the conditional ternary operators that stripped the background and border when
viewMode === 'stack'. - Ensured consistent
p-4padding for the content wrapper. - The
StackViewcomponent is now rendered inside the standard slate card container.
Verification
- Code review confirms the removal of
bg-transparent border-noneoverrides. - This ensures the
bg-slate-800class applied to the parentdivis visible in all modes.