Skip to content

Commit

Permalink
Closes #7936
Browse files Browse the repository at this point in the history
- Fixed swimlane button markup.
- CSS cleanup.
  • Loading branch information
charlesh88 committed Dec 19, 2024
1 parent 3c24205 commit 5312458
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
18 changes: 8 additions & 10 deletions src/ui/components/swim-lane/SwimLane.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@
<div class="c-object-label__name">
<slot name="label"></slot>
</div>
<div class="c-icon-button c-icon-button--major">
<button
v-if="!hideButton"
class="c-button"
:class="[buttonIcon, buttonPressed ? 'is-active' : '']"
:title="buttonTitle"
:aria-label="buttonTitle"
@click="pressOnButton"
/>
</div>
<button
v-if="!hideButton"
class="c-button"
:class="[buttonIcon, buttonPressed ? 'is-active' : '']"
:title="buttonTitle"
:aria-label="buttonTitle"
@click="pressOnButton"
/>
</div>
<div
class="c-swimlane__lane-object"
Expand Down
4 changes: 1 addition & 3 deletions src/ui/components/swim-lane/swimlane.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
}

// Yet more brittle special case selecting...
.is-object-type-plan {
display: contents;
}
.is-object-type-plan,
.is-object-type-gantt-chart {
display: contents;
}
Expand Down

0 comments on commit 5312458

Please sign in to comment.