fix. gnb 없는 케이스 추가

This commit is contained in:
clkim
2025-11-20 12:51:24 +09:00
parent e418245397
commit b3eb47af1d
7 changed files with 28 additions and 5 deletions

View File

@@ -85,6 +85,9 @@ onMounted(async () => {
</template>
<style scoped>
.empty-game + main .event-navigation {
@apply mt-[var(--scroll-position,48px)];
}
.event-navigation {
@apply fixed top-0 left-0 bottom-0 mt-[calc(var(--scroll-position,48px)+48px)] md:mt-[calc(var(--scroll-position,64px)+64px)] z-[100] transition-transform duration-300 ease-in-out;
}

View File

@@ -224,9 +224,12 @@ onMounted(() => {
</script>
<template>
<header v-if="gnbData" class="header">
<header :class="['header', { 'empty-game': !gnbData }]">
<BlocksStoveGnbNew class="h-[48px]" />
<div :class="['game-wrap', { 'is-fixed': isPassedStoveGnb }]">
<div
v-if="gnbData"
:class="['game-wrap', { 'is-fixed': isPassedStoveGnb }]"
>
<AtomsLocaleLink to="/" class="mx-auto md:hidden">
<img
:src="getImageHost(gnbData?.bi_path)"

View File

@@ -112,6 +112,9 @@ onMounted(() => {
</template>
<style scoped>
.empty-game + main .main-content {
@apply pt-0;
}
.main-content {
@apply relative pt-[48px] md:pt-[64px];
}