From ea992d8fc4d5dfe137d1ddcbc75202fe548f1274 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Thu, 10 Sep 2020 00:36:16 +0200 Subject: [PATCH] focus style for rte --- zero.Web.UI/App/components/forms/rte.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zero.Web.UI/App/components/forms/rte.vue b/zero.Web.UI/App/components/forms/rte.vue index 65756301..f9c41125 100644 --- a/zero.Web.UI/App/components/forms/rte.vue +++ b/zero.Web.UI/App/components/forms/rte.vue @@ -146,6 +146,15 @@ line-height: 1.5; color: var(--color-text); border-radius: var(--radius); + border: 1px solid transparent; + + &:focus-within + { + background: var(--color-input-focus-bg) !important; + border: var(--color-input-focus-border); + box-shadow: var(--color-input-focus-shadow); + outline: none; + } } .pell, .pell-content, .pell-raw