Add border around LanguageSelect elements
Some checks are pending
The Quran / ci (push) Waiting to run
Some checks are pending
The Quran / ci (push) Waiting to run
This commit is contained in:
parent
deb61e94bd
commit
f5ba2b9388
2 changed files with 5 additions and 1 deletions
|
@ -75,6 +75,10 @@ html {
|
||||||
.background-accent {
|
.background-accent {
|
||||||
background: var(--accent-color);
|
background: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.border-accent {
|
||||||
|
border: 1px solid var(--accent-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ export function LanguageSelect({ locale }: Props) {
|
||||||
<Select.Option
|
<Select.Option
|
||||||
key={i}
|
key={i}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"flex h-6 w-full justify-center no-underline mb-1 rounded",
|
"flex h-6 w-full justify-center no-underline mb-1 rounded border-accent",
|
||||||
l.direction,
|
l.direction,
|
||||||
l.name === locale.name ? "active" : undefined,
|
l.name === locale.name ? "active" : undefined,
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue