Skip to content

Commit

Permalink
remove pins from the main table list with shifting icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rathboma committed Jun 27, 2022
1 parent bf39c3d commit 75c7111
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
14 changes: 13 additions & 1 deletion apps/studio/src/assets/styles/app/sidebar/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,21 @@
}
&.pinned {
display: inline-flex;
i {
i.bk-pin {
color: $theme-primary;
}
i.material-icons {
display:none;
}

&:hover {
i.material-icons {
display: inline;
}
i.bk-pin {
display: none;
}
}
}
}
i {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
<span class="actions" v-bind:class="{'pinned': pinned}">
<span v-if="!pinned" @mousedown.prevent.stop="pin" class="btn-fab pin" :title="'Pin'"><i class="bk-pin"></i></span>
<span v-if="pinned" @mousedown.prevent.stop="unpin" class="btn-fab unpin" :title="'Unpin'"><i class="material-icons">clear</i></span>
<span v-if="pinned" class="btn-fab pinned"><i class="bk-pin" :title="'Unpin'"></i></span>
<span v-if="pinned" @mousedown.prevent.stop="unpin" class="btn-fab pinned">
<i class="bk-pin" :title="'Unpin'"></i>
<i class="material-icons">clear</i>
</span>
</span>
</a>
<div v-if="showColumns" class="sub-items">
Expand Down

0 comments on commit 75c7111

Please sign in to comment.