Fix feed panel opening on mobile
All checks were successful
Deploy Spot / deploy (push) Successful in 33s

This commit is contained in:
2026-05-26 17:33:18 +02:00
parent badae8a3a0
commit 6ee4c8efc7
2 changed files with 5 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ export default {
</div> </div>
</Simplebar> </Simplebar>
</div> </div>
<div class="settings-footer"> <div v-if="!isMobile()" class="settings-footer">
<a href="https://git.lutran.fr/franzz/spot" :title="lang.get('credits.git')" target="_blank" rel="noopener"> <a href="https://git.lutran.fr/franzz/spot" :title="lang.get('credits.git')" target="_blank" rel="noopener">
<SpotIcon :icon="'credits'" width="auto" :text="lang.get('credits.project', consts.title)" /> <SpotIcon :icon="'credits'" width="auto" :text="lang.get('credits.project', consts.title)" />
</a> </a>

View File

@@ -33,21 +33,21 @@
} }
&.with-right-panel { &.with-right-panel {
.panel-left { .panel.panel-left {
transform: translateX(-200vw); transform: translateX(-200vw);
} }
.panel-right { .panel.panel-right {
transform: translateX(calc(var.$button-width + var.$block-spacing * 2)); transform: translateX(calc(var.$button-width + var.$block-spacing * 2));
} }
} }
&.with-left-panel { &.with-left-panel {
.panel-left { .panel.panel-left {
transform: translateX(0); transform: translateX(0);
} }
.panel-right { .panel.panel-right {
transform: translateX(200vw); transform: translateX(200vw);
} }
} }