Skip to content

Fix optional annotation sidebar overlap with the toolbar - #1956

Open
mattdawkins wants to merge 1 commit into
mainfrom
fix/annotation-sidebar-height
Open

mattdawkins wants to merge 1 commit into
mainfrom
fix/annotation-sidebar-height

Conversation

@mattdawkins

Copy link
Copy Markdown
Member

The optional right sidebar still used a hard-coded 112px toolbar offset after the annotation toolbar grew to 120px on desktop. In bottom-panel mode this placed the sidebar 8px over the toolbar; other layouts made the sidebar 8px taller than the available space.

Use Vuetify's registered top-bar offset, matching v-main, for both the sidebar position and height. Bottom-panel mode continues to reserve the panel's 260px height, so the sidebar fits between the bars. The offset also follows responsive toolbar sizing.

Validation: TypeScript checking, ESLint for SidebarContext.vue, and git diff --check passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant