chore(components): simplify code; make scss explicit
This commit is contained in:
parent
574fc5e535
commit
ee22e02617
|
@ -119,7 +119,7 @@ const attributes = computed(() =>
|
|||
</Layout>
|
||||
</template>
|
||||
|
||||
<style module>
|
||||
<style module lang="scss">
|
||||
.card {
|
||||
--fw-card-padding: v-bind("'small' in props ? '16px' : '24px'");
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ const attributes = computed(() => ({
|
|||
</component>
|
||||
</template>
|
||||
|
||||
<style module>
|
||||
<style module lang="scss">
|
||||
.layout {
|
||||
transition: all .15s;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { useRoute } from 'vue-router'
|
|||
const isCollapsed = ref(true)
|
||||
|
||||
const route = useRoute()
|
||||
watch(() => route.path, () => ( isCollapsed.value = true ))
|
||||
watch(() => route.path, () => isCollapsed.value = true)
|
||||
|
||||
const searchQuery = ref('')
|
||||
|
||||
|
|
Loading…
Reference in New Issue