Improve/fix display of icons in markdown alert boxes in config panels

This commit is contained in:
Alexandre Aubin 2021-10-20 19:14:29 +02:00
parent fade9afe97
commit 6571b6a0c8

View file

@ -1,6 +1,6 @@
<template> <template>
<b-alert :variant="type" show> <b-alert class="d-flex" :variant="type" show>
<icon :iname="icon_" /> <icon :iname="icon_" class="mr-1 mt-1" />
<vue-showdown :markdown="label" flavor="github" <vue-showdown :markdown="label" flavor="github"
tag="span" class="markdown" tag="span" class="markdown"
/> />
@ -33,9 +33,6 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.icon + span.markdown > *:first-child {
display: inline-block;
}
.alert p:last-child { .alert p:last-child {
margin-bottom: 0; margin-bottom: 0;
} }