Skip to content

Commit 3340f9c

Browse files
committed
Merge branch 'tailwindcss'
2 parents d8a5a99 + c853fd5 commit 3340f9c

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/core/MainApp.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const deviceTooSmall = computed(() => {
5454
</script>
5555

5656
<template>
57-
<div class="@container" ref="containerDiv" :class="api.config.colorMode === 'dark' ? 'dark' : 'light'">
57+
<div class="@container" ref="containerDiv">
5858
<StatusBar v-if="showStatusBar" />
5959
<div class="bg-background" v-if="deviceTooSmall">
6060
<WindowSizerView triggered="true"></WindowSizerView>

src/core/SmileApp.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,7 @@ onMounted(() => {
182182
<div class="content-wrapper">
183183
<div class="content-and-console">
184184
<!-- Main content - scrollable -->
185-
<div
186-
class="main-content bg-background text-foreground"
187-
:class="api.store.dev.isFullscreen && api.config.colorMode === 'dark' ? 'dark' : 'light'"
188-
>
185+
<div class="main-content bg-background text-foreground">
189186
<div v-if="isLoading" class="loading-container">
190187
<div class="loading-spinner"></div>
191188
<p>Loading...</p>

src/dev/developer_mode/ResponsiveDeviceContainer.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ const shouldUseResponsiveContainer = computed(() => {
151151
v-if="api.store.dev.isFullscreen || !shouldUseResponsiveContainer"
152152
ref="fullScreenDiv"
153153
class="fullscreen-container bg-background text-foreground"
154+
:class="api.currentRouteName() !== 'recruit' ? (api.config.colorMode === 'dark' ? 'dark' : 'light') : ''"
154155
>
155156
<MainApp :deviceWidth="fullScreenWidth" :deviceHeight="fullScreenHeight" />
156157
</div>
@@ -205,7 +206,10 @@ const shouldUseResponsiveContainer = computed(() => {
205206
</TooltipProvider>
206207
</div>
207208
</div>
208-
<div class="device-wrapper" :class="api.config.colorMode === 'dark' ? 'dark' : 'light'">
209+
<div
210+
class="device-wrapper"
211+
:class="api.currentRouteName() !== 'recruit' ? (api.config.colorMode === 'dark' ? 'dark' : 'light') : ''"
212+
>
209213
<div class="device-container bg-background text-foreground" ref="containerDiv">
210214
<MainApp :deviceWidth="api.store.dev.deviceWidth" :deviceHeight="api.store.dev.deviceHeight" />
211215
</div>

0 commit comments

Comments
 (0)