Skip to content

Commit

Permalink
fix card border-color
Browse files Browse the repository at this point in the history
Even though we use box-shadow instead of border for the outline, this makes it easier for custom snippets to add a colored left-border to cards.
  • Loading branch information
pryley committed Dec 31, 2023
1 parent b9557c6 commit fe216e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/modules/Integrations/kanban/cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@

.kanban-plugin__drag-container > .kanban-plugin__item-wrapper {
.kanban-plugin__item {
box-shadow: inset 0 0 0 1px var(--interactive-accent), var(--shadow-s);
border-color: var(--background-modifier-border-hover);
box-shadow: inset 0 0 0 1px var(--background-modifier-border-hover), var(--shadow-s);
}
}
3 changes: 0 additions & 3 deletions src/modules/Integrations/kanban/lanes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
margin-right: var(--anp-kanban-lane-spacing, 10px);
transition: width 200ms;
}
.kanban-plugin__lane-form-wrapper {
border-color: var(--interactive-accent);
}
.kanban-plugin__lane-grip {
color: var(--background-modifier-border);
margin: 0;
Expand Down

0 comments on commit fe216e9

Please sign in to comment.