Skip to content

Commit

Permalink
use a border-left with no margin to highlight current item
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Oct 26, 2023
1 parent e73856e commit 9a14a5f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/src/components/History/Content/ContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,13 @@ export default {
}
// improve focus visibility
&:deep(.btn:focus),
&.being-used {
&:deep(.btn:focus) {
box-shadow: 0 0 0 0.2rem transparentize($brand-primary, 0.75);
}
&.being-used {
border-left: 0.25rem solid $brand-primary;
margin-left: 0rem !important;
}
}
</style>

0 comments on commit 9a14a5f

Please sign in to comment.