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.
1 parent 5a13112 commit 443cb6cCopy full SHA for 443cb6c
adminforth/spa/src/afcl/CountryFlag.vue
@@ -1,6 +1,6 @@
1
<template>
2
<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"/>
+ <component v-if="getFlagComponent(countryCode)" :is="getFlagComponent(countryCode)" class="flag-icon h-full object-contain rounded-sm"/>
4
<span v-else-if="countryCode">{{ countryCode }}</span>
5
</div>
6
</template>
@@ -24,5 +24,6 @@ const getFlagComponent = (countryCode: string) => {
24
box-shadow: inset -0.3px -0.3px 0.3px 0px rgba(0 0 0 / 0.2),
25
inset 0.3px 0.3px 0.3px 0px rgba(255 255 255 / 0.2),
26
0px 0px 3px #00000030;
27
+ width: auto;
28
}
29
</style>
0 commit comments