Skip to content

Commit

Permalink
Code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
AdRiley committed Mar 4, 2025
1 parent c3f8348 commit c931435
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions app/gui/src/project-view/components/DockPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { documentationEditorBindings } from '@/bindings'
import ResizeHandles from '@/components/ResizeHandles.vue'
import SizeTransition from '@/components/SizeTransition.vue'
import SvgButton from '@/components/SvgButton.vue'
import ToggleIcon from '@/components/ToggleIcon.vue'
import { useResizeObserver } from '@/composables/events'
import { Rect } from '@/util/data/rect'
Expand Down Expand Up @@ -67,11 +68,11 @@ const tabStyle = {
class="tab"
:style="tabStyle"
>
<ToggleIcon
<SvgButton
:modelValue="currentTab == tab"
:title="title"
:icon="icon"
@update:modelValue="currentTab = tab"
:name="icon"
@click="currentTab = tab"
/>
</div>
</div>
Expand Down Expand Up @@ -140,10 +141,6 @@ const tabStyle = {
}
}
.tab .ToggleIcon svg {
opacity: 1 !important;
}
.toggleDock {
--icon-margin: 16px; /* Must match `--icon-margin` defined above, which is not in scope because of the teleport. */
z-index: 1;
Expand Down

0 comments on commit c931435

Please sign in to comment.