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 @@
-
+
- {{ userAbsenceCaption }}
-
-
-
-
-
-
- {{ userAbsenceMessage }}
+
+
{{ userAbsenceCaption }}
+
+
+
+
+
+ {{ userAbsenceMessage }}
@@ -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;