diff --git a/src/components/PageStrcture/PageTitle.vue b/src/components/PageStrcture/PageTitle.vue index 98d75212..26c7ccef 100644 --- a/src/components/PageStrcture/PageTitle.vue +++ b/src/components/PageStrcture/PageTitle.vue @@ -1,14 +1,23 @@ - + + + - {{ title }} - {{ description }} + {{ title }} + {{ description }} + + @@ -28,6 +57,7 @@ export default { flex-direction: row; align-items: center; text-decoration: none; + position: relative; h1 { color: var(--heading-text-color); font-size: 2.5rem; @@ -49,5 +79,21 @@ export default { text-align: center; padding: 0.25rem 0; } + &[disabled] { + cursor: default; + } + svg.edit-icon { + width: 1rem; + height: 1rem; + right: 1rem; + top: 0.5rem; + padding: 0.25rem; + margin: 0.25rem; + cursor: pointer; + border: 1px solid var(--background-darker); + border-radius: var(--curve-factor); + path { fill: var(--primary); } + &:hover { border: 1px solid var(--primary); } + } }