4ddf47f3da
fixes #1542
41 lines
764 B
HTML
41 lines
764 B
HTML
<aside class="info-aside {className}">
|
|
<SvgIcon href="#fa-info-circle" className="aside-icon" />
|
|
<span>
|
|
<slot></slot>
|
|
</span>
|
|
</aside>
|
|
<style>
|
|
.info-aside {
|
|
font-size: 1.2em;
|
|
color: var(--deemphasized-text-color);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
:global(.info-aside a) {
|
|
text-decoration: underline;
|
|
color: var(--deemphasized-text-color);
|
|
}
|
|
:global(.info-aside span) {
|
|
flex: 1;
|
|
}
|
|
:global(.aside-icon) {
|
|
fill: var(--deemphasized-text-color);
|
|
width: 18px;
|
|
height: 18px;
|
|
margin: 0 10px 0 5px;
|
|
min-width: 18px;
|
|
}
|
|
</style>
|
|
<script>
|
|
import SvgIcon from './SvgIcon.html'
|
|
|
|
export default {
|
|
data: () => ({
|
|
className: ''
|
|
}),
|
|
components: {
|
|
SvgIcon
|
|
}
|
|
}
|
|
</script>
|