Skip to content

Commit 2686e9b

Browse files
authored
Merge pull request #277 from devforth/AdminForth/678
fix: removed white background from the country flag
2 parents ff5c721 + 3007041 commit 2686e9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adminforth/spa/src/afcl/CountryFlag.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<template>
2-
<component v-if="getFlagComponent(countryCode)" class="flag-icon rounded-sm" :is="getFlagComponent(countryCode)" />
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"/>
34
<span v-else-if="countryCode">{{ countryCode }}</span>
5+
</div>
46
</template>
57

68
<script setup lang="ts">

0 commit comments

Comments
 (0)