chore(components): simplify code; make scss explicit

This commit is contained in:
upsiflu 2025-02-02 19:18:38 +01:00
parent 574fc5e535
commit ee22e02617
3 changed files with 3 additions and 3 deletions

View File

@ -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'");

View File

@ -44,7 +44,7 @@ const attributes = computed(() => ({
</component>
</template>
<style module>
<style module lang="scss">
.layout {
transition: all .15s;

View File

@ -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('')