We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff5c721 + 3007041 commit 2686e9bCopy full SHA for 2686e9b
adminforth/spa/src/afcl/CountryFlag.vue
@@ -1,6 +1,8 @@
1
<template>
2
- <component v-if="getFlagComponent(countryCode)" class="flag-icon rounded-sm" :is="getFlagComponent(countryCode)" />
+ <div class="aspect-[4/3] w-8 h-6 flex items-center justify-center">
3
+ <component v-if="getFlagComponent(countryCode)" :is="getFlagComponent(countryCode)" class="flag-icon w-full h-full object-contain rounded-sm"/>
4
<span v-else-if="countryCode">{{ countryCode }}</span>
5
+ </div>
6
</template>
7
8
<script setup lang="ts">
0 commit comments