Fix design, dark mode and keyboard navigation of the board list

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-08-20 16:48:24 +02:00
parent 6699eb7f70
commit 897c42609b
5 changed files with 29 additions and 74 deletions

View File

@@ -25,7 +25,7 @@
:title="board.title"
:to="routeTo"
class="board-list-row"
tag="div">
tag="a">
<div class="board-list-bullet-cell">
<div :style="{ 'background-color': `#${board.color}` }" class="board-list-bullet" />
</div>
@@ -78,6 +78,13 @@ export default {
<style lang="scss" scoped>
.board-list-row {
&:hover, &:focus {
background-color: var(--color-background-hover);
}
cursor: pointer;
}
.board-list-bullet-cell {
padding: 6px 15px;