Skip to content
Snippets Groups Projects
Commit 94135750 authored by Julian's avatar Julian
Browse files

Fix max width of notifications menu

parent 90c8d856
No related branches found
No related tags found
1 merge request!1125Resolve "[Vue] Notifications look ugly"
......@@ -4,7 +4,7 @@
:poll-interval="1000"
>
<template #default="{ result: { error, data, loading } }">
<v-menu offset-y :close-on-content-click="false" max-width="min-content">
<v-menu offset-y :close-on-content-click="false" max-width="min(min-content, 80vw)">
<template v-slot:activator="{ on, attrs }">
<v-btn icon color="primary" v-bind="attrs" v-on="on" :loading="loading">
<v-icon color="white" v-if="data && data.myNotifications.unreadNotificationsCount > 0">mdi-bell-badge-outline</v-icon>
......
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