Compare commits
1 Commits
fix/mobile
...
fix/mobile
| Author | SHA1 | Date | |
|---|---|---|---|
| dacd4887aa |
@@ -196,7 +196,7 @@ function onSwipeEnd() {
|
|||||||
// Carousel area excluded
|
// Carousel area excluded
|
||||||
if (swipeStartTarget.value?.closest?.('[data-no-tab-swipe]')) return
|
if (swipeStartTarget.value?.closest?.('[data-no-tab-swipe]')) return
|
||||||
// Skip when modal/overlay is open
|
// Skip when modal/overlay is open
|
||||||
if (document.querySelector('.modal-overlay, .detail-overlay, .dialog-overlay')) return
|
if (document.querySelector('.modal-overlay, .detail-overlay, .dialog-overlay, .overlay')) return
|
||||||
|
|
||||||
const tabs = visibleTabs.value.map(t => t.key)
|
const tabs = visibleTabs.value.map(t => t.key)
|
||||||
const currentIdx = tabs.indexOf(ui.currentSection)
|
const currentIdx = tabs.indexOf(ui.currentSection)
|
||||||
|
|||||||
@@ -2483,5 +2483,22 @@ watch(() => recipeStore.recipes, () => {
|
|||||||
.manage-toolbar {
|
.manage-toolbar {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
.overlay-panel {
|
||||||
|
padding: 16px;
|
||||||
|
border-radius: 12px;
|
||||||
|
max-height: calc(100vh - 32px);
|
||||||
|
}
|
||||||
|
.overlay-header {
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
.overlay-header h3 {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
.ratio-hint {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
.editor-section {
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user