This commit is contained in:
19
frontend/app/components/layouts/FixedLayout.vue
Normal file
19
frontend/app/components/layouts/FixedLayout.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div class="fixed-layout">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@media screen and (min-width: 1200px){
|
||||
.fixed-layout {
|
||||
width: 1100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px){
|
||||
.fixed-layout {
|
||||
max-width: 1100px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user