knowyt/client/src/components/Infobox.vue

22 lines
370 B
Vue
Raw Normal View History

<template>
<div class="infobox">
<div class="infobox__container">
<slot />
</div>
</div>
</template>
<style lang="scss">
@import '~/assets/css/components';
.infobox {
&__container {
margin: 20px 80px;
padding: 0 40px;
border: 1px solid white;
border-radius: 20px;
background-color: $primary-box-background-color;
}
}
</style>