22 lines
370 B
Vue
22 lines
370 B
Vue
|
<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>
|