-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Views: Base-configuration: Add small screen breakpoints and styles
Signed-off-by: Arturo Manzoli <[email protected]>
- Loading branch information
1 parent
9b341e3
commit a159f47
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
<template> | ||
<v-card class="elevation-0"> | ||
<v-card-title class="flex-centered mt-2"> | ||
<div class="bg-transparent text-white px-[1vw] pb-[2vh]"> | ||
<div class="absolute top-0 right-0 py-2 pr-3"> | ||
<slot name="help-icon"></slot> | ||
</div> | ||
<div | ||
class="font-semibold flex-centered mt-3" | ||
:style="{ fontSize: interfaceStore.isOnSmallScreen ? '16px' : '20px' }" | ||
> | ||
<slot name="title"></slot> | ||
</v-card-title> | ||
<v-divider /> | ||
<v-card-text class="flex-centered flex-column"> | ||
</div> | ||
<div class="flex-center flex-column"> | ||
<slot name="content"></slot> | ||
</v-card-text> | ||
</v-card> | ||
</div> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import { useAppInterfaceStore } from '@/stores/appInterface' | ||
const interfaceStore = useAppInterfaceStore() | ||
</script> |