Skip to content

Commit 8055808

Browse files
committed
fix(layout): apply fixed positioning to all pages
1 parent 1388060 commit 8055808

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/components/BoothsList.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ function markedIntro(intro: string) {
7676
align-items: center;
7777
overflow: hidden;
7878
background-color: #FBFAF2;
79+
position: fixed;
80+
top: 0;
81+
left: 0;
82+
right: 0;
83+
z-index: 0;
7984
}
8085
8186
.booths-list {

src/components/MyProfile.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ onUnmounted(() => {
9292
align-items: center;
9393
padding: 35px 20px 20px 20px;
9494
box-sizing: border-box;
95+
position: fixed;
96+
top: 0;
97+
left: 0;
98+
right: 0;
99+
z-index: 0;
95100
}
96101
97102
.avatar-section {

src/components/PhaserGame.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ watch([showPopup, popupData], async ([isOpen, data]) => {
309309

310310
<style scoped>
311311
#game-container {
312-
position: absolute;
312+
position: fixed;
313313
top: 0;
314314
left: 0;
315315
right: 0;

0 commit comments

Comments
 (0)