Skip to content
Snippets Groups Projects
Commit 11cac210 authored by VIktorGrev's avatar VIktorGrev
Browse files

style: Adding text wrap to notification

parent c0f2e670
No related branches found
No related tags found
1 merge request!104Feat/profile and settings improvements
Pipeline #285299 passed with warnings
......@@ -51,7 +51,7 @@
<img :src="notificationImageMapper[String(item.notificationType)]" alt="Varslingsikon" class="notification-icon">
</div>
<div class="flex-grow-1 ms-3">
<div class="not-item dropdown-item text-wrap">{{item.message}}</div>
<div class="not-item dropdown-item" id="notificationText">{{item.message}}</div>
</div>
</router-link>
</li>
......@@ -491,5 +491,14 @@ onMounted(() => {
display: none;
}
#notificationText {
text-wrap: nowrap;
}
@media (max-width: 768px) {
#notificationText {
text-wrap: wrap;
}
}
</style>
\ No newline at end of file
......@@ -345,6 +345,12 @@ const toUpdateUserSettings = () => {
background-color: #00DBDE;
}
.classyButton {
background-color: #003A58;
border: #003A58;
color: white;
}
.classyButton:hover {
background-color: #003b58ec;
border: #003A58;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment