feat(provenance): modal sidebar stacks ProvenancePanel above Tags

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-18 20:17:42 -04:00
parent 7e904f41b5
commit 8abdaa4393
2 changed files with 14 additions and 9 deletions
+14 -4
View File
@@ -42,7 +42,10 @@
</v-alert> </v-alert>
</div> </div>
<TagPanel v-if="modal.current" /> <aside v-if="modal.current" class="fc-viewer__side">
<ProvenancePanel />
<TagPanel />
</aside>
</div> </div>
</div> </div>
</Teleport> </Teleport>
@@ -54,6 +57,7 @@ import { useModalStore } from '../../stores/modal.js'
import ImageCanvas from './ImageCanvas.vue' import ImageCanvas from './ImageCanvas.vue'
import VideoCanvas from './VideoCanvas.vue' import VideoCanvas from './VideoCanvas.vue'
import TagPanel from './TagPanel.vue' import TagPanel from './TagPanel.vue'
import ProvenancePanel from './ProvenancePanel.vue'
defineEmits(['close']) defineEmits(['close'])
@@ -133,13 +137,19 @@ function isTextEntry(el) {
flex: 1; display: flex; align-items: center; justify-content: center; flex: 1; display: flex; align-items: center; justify-content: center;
min-width: 0; min-width: 0;
} }
.fc-viewer__side {
width: 320px; flex-shrink: 0;
background: rgb(var(--v-theme-surface));
border-left: 1px solid rgb(var(--v-theme-surface-light));
overflow-y: auto;
}
@media (max-width: 900px) { @media (max-width: 900px) {
.fc-viewer__body { flex-direction: column; } .fc-viewer__body { flex-direction: column; }
.fc-tag-panel { .fc-viewer__side {
width: 100% !important; width: 100%;
max-height: 40vh; max-height: 40vh;
border-left: none !important; border-left: none;
border-top: 1px solid rgb(var(--v-theme-surface-light)); border-top: 1px solid rgb(var(--v-theme-surface-light));
} }
} }
@@ -103,12 +103,7 @@ async function onRenamed() {
<style scoped> <style scoped>
.fc-tag-panel { .fc-tag-panel {
width: 320px;
flex-shrink: 0;
padding: 16px; padding: 16px;
background: rgb(var(--v-theme-surface));
border-left: 1px solid rgb(var(--v-theme-surface-light));
overflow-y: auto;
} }
.fc-tag-panel__title { .fc-tag-panel__title {
font-family: 'Fraunces', Georgia, serif; font-family: 'Fraunces', Georgia, serif;