From 5da4fa5cc57d972fcdc0b2d77a47e241b5c2bb31 Mon Sep 17 00:00:00 2001 From: DorraJaouad Date: Wed, 7 Feb 2024 11:24:27 +0100 Subject: [PATCH] chore(NcNoteCard): use custom icon slot Signed-off-by: DorraJaouad --- .../NewMessage/NewMessageAbsenceInfo.vue | 71 ++++++++++--------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/src/components/NewMessage/NewMessageAbsenceInfo.vue b/src/components/NewMessage/NewMessageAbsenceInfo.vue index add9beae879..ac6c56b9106 100644 --- a/src/components/NewMessage/NewMessageAbsenceInfo.vue +++ b/src/components/NewMessage/NewMessageAbsenceInfo.vue @@ -22,29 +22,28 @@ @@ -109,30 +125,13 @@ export default { .absence-reminder { margin: 0 16px 12px; padding: 10px 10px 10px 6px; - border-radius: var(--border-radius-large); - - // FIXME upstream: allow to hide or replace NoteCard default icon - & :deep(.notecard__icon) { - display: none; - } - - & > :deep(div) { - width: 100%; - } - - &__content { - display: flex; - align-items: center; - gap: 4px; - width: 100%; - } &__caption { font-weight: bold; + margin: 5px 44px 5px 0; } &__message { - padding-left: 26px; white-space: pre-line; word-wrap: break-word; @@ -146,7 +145,9 @@ export default { } &__button { - margin-left: auto; + position: absolute !important; + top: 4px; + right: 20px; & .icon { transition: $transition;