diff --git a/web/src/style.css b/web/src/style.css index 26a6a6e..96f55b0 100644 --- a/web/src/style.css +++ b/web/src/style.css @@ -647,22 +647,18 @@ h1 { } } -.project-head__back { - display: inline-flex; - align-items: center; - text-decoration: none; -} - -/* The card view's back link sits inside its title, right before the card's - text, rather than up in .project-head__actions like the other views. */ -.card-view__back { +/* An arrow inline in a heading, right before the title text -- back to + wherever this page is "inside" of (dashboard, a project, ...). Used by + every heading that has one instead of a separate button, so they all + look and behave the same. */ +.title-back { display: inline-flex; margin-right: 0.4rem; color: var(--muted); text-decoration: none; } -.card-view__back:hover { +.title-back:hover { color: var(--accent); } diff --git a/web/src/views/CardView.vue b/web/src/views/CardView.vue index 5502c7d..4537374 100644 --- a/web/src/views/CardView.vue +++ b/web/src/views/CardView.vue @@ -106,7 +106,7 @@ async function onDelete() {