add some styling
This commit is contained in:
9
docs/src/components/AppSection/index.vue
Normal file
9
docs/src/components/AppSection/index.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<section class="app-section">
|
||||
<div class="app-section__inner">
|
||||
<slot />
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<style lang="scss" src="./style.scss"></style>
|
||||
15
docs/src/components/AppSection/style.scss
Normal file
15
docs/src/components/AppSection/style.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
.app-section {
|
||||
position: relative;
|
||||
|
||||
&__inner {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
padding: 4rem 1rem;
|
||||
margin: 0 auto;
|
||||
max-width: 50rem;
|
||||
|
||||
// @media (min-width: $mobileBreakPoint) {
|
||||
// padding: 0 2rem;
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user