change http error toast formatting

This commit is contained in:
busti 2019-12-28 04:24:53 +01:00
parent d3e15bb9ba
commit 5edf382bcb
2 changed files with 10 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<template>
<div class="toast" :class="color && ('border-' + color)" role="alert" ref="toast" data-autohide="false">
<div class="toast-header">
<div class="toast-header" :class="[color && ('bg-' + color), color && 'text-light']">
<strong class="mr-auto pr-3">{{ title }}</strong>
<small>{{ displayTime }}</small>
<button type="button" class="ml-2 mb-1 close" @click="close()">