Refactor navigation and fix UI issues
All checks were successful
Build Docker Image / build (push) Successful in 4m13s
All checks were successful
Build Docker Image / build (push) Successful in 4m13s
- Add py-4 to main layout for detail page padding - Show search widget only on main page (not all catalog pages) - Add 4 menu items: Search, Catalog, Orders, Seller - Fix orders page click to navigate to order detail - Update CatalogPage map positioning for new nav structure - Add search translation to cabinetNav i18n files
This commit is contained in:
@@ -181,9 +181,9 @@ const props = withDefaults(defineProps<{
|
||||
hasSubNav: true
|
||||
})
|
||||
|
||||
// Map positioning based on navigation height
|
||||
const mapTopClass = computed(() => props.hasSubNav ? 'top-40' : 'top-32')
|
||||
const mapHeightClass = computed(() => props.hasSubNav ? 'h-[calc(100vh-11rem)]' : 'h-[calc(100vh-9rem)]')
|
||||
// Map positioning based on navigation height (no search bar on catalog pages now)
|
||||
const mapTopClass = computed(() => props.hasSubNav ? 'top-32' : 'top-24')
|
||||
const mapHeightClass = computed(() => props.hasSubNav ? 'h-[calc(100vh-9rem)]' : 'h-[calc(100vh-7rem)]')
|
||||
|
||||
const emit = defineEmits<{
|
||||
'select': [item: MapItem]
|
||||
|
||||
Reference in New Issue
Block a user