diff options
Diffstat (limited to 'src/layouts')
-rw-r--r-- | src/layouts/AppLayout.vue | 10 | ||||
-rw-r--r-- | src/layouts/LoginLayout.vue | 9 |
2 files changed, 8 insertions, 11 deletions
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue index 4f2426324..2002269fc 100644 --- a/src/layouts/AppLayout.vue +++ b/src/layouts/AppLayout.vue @@ -54,6 +54,13 @@ export default { }, methods: { refresh() { + // Clear all toast messages + document.querySelectorAll('.toast').forEach((toast) => { + const toastId = toast.id; + if (toastId) { + this.$bvToast.hide(toastId); + } + }); // Changing the component :key value will trigger // a component re-rendering and 'refresh' the view this.routerKey += 1; @@ -63,9 +70,6 @@ export default { </script> <style lang="scss" scoped> -@import '@/assets/styles/bmc/helpers/_index.scss'; -@import '@/assets/styles/bootstrap/_helpers.scss'; - .app-container { display: grid; grid-template-columns: 100%; diff --git a/src/layouts/LoginLayout.vue b/src/layouts/LoginLayout.vue index a79228fda..55b56928f 100644 --- a/src/layouts/LoginLayout.vue +++ b/src/layouts/LoginLayout.vue @@ -24,7 +24,7 @@ <div class="login-aside__logo-bmc"> <img svg-inline - height="60px" + style="width: auto; height: 60px" src="@/assets/images/built-on-openbmc-logo.svg" alt="Built on OpenBMC" /> @@ -44,16 +44,9 @@ export default { }; }, }; -(''); </script> <style lang="scss" scoped> -@import '@/assets/styles/bmc/helpers/_index.scss'; -@import '@/assets/styles/bootstrap/_helpers.scss'; - -@import '@/assets/styles/bmc/helpers'; -@import '@/assets/styles/bootstrap/_helpers'; - .login-container { background: gray('100'); display: flex; |