Skip to content

Commit

Permalink
Smoother overlap in top-left when no border on left is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Oct 11, 2023
1 parent 9a451b5 commit c8717ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/src/widgets/ui-notification/UINotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:style="{'--nrdb-ui-notification-color': color}"
>
<div v-if="props.showCountdown" class="nrdb-ui-notification-countdown">
<v-progress-linear v-model="countdown" :color="props.colorDefault ? 'primary' : color" style="display: block; width: 100%" />
<v-progress-linear v-model="countdown" :color="messages[id]?.color || (props.colorDefault ? 'primary' : color)" style="display: block; width: 100%" />
</div>
<div v-if="!props.raw">{{ value }}</div>
<!-- eslint-disable-next-line vue/no-v-html -->
Expand Down Expand Up @@ -125,9 +125,11 @@ export default {
.nrdb-ui-notification-countdown {
position: absolute;
width: 100%;
width: calc(100% + 6px);
top: 0;
left: 0;
margin-left: -6px;
border-top-left-radius: 4px;
}
.nrdb-ui-notification h1,
Expand Down

0 comments on commit c8717ac

Please sign in to comment.