fix: admin banner text off center

This commit is contained in:
trafficlunar 2026-04-27 11:39:39 +01:00
parent c88491b44f
commit 73222c266f

View file

@ -51,7 +51,7 @@ export default function AdminBanner() {
return ( return (
<> <>
{shouldShow && message && ( {shouldShow && message && (
<div className="relative w-full min-h-10 bg-orange-300 border-y-2 border-y-orange-400 mt-1 pl-2 shadow-md flex justify-center text-orange-900 text-nowrap overflow-x-auto font-semibold max-sm:justify-between"> <div className="relative w-full min-h-10 bg-orange-300 border-y-2 border-y-orange-400 mt-1 pl-2 shadow-md flex justify-center items-center text-orange-900 text-nowrap overflow-x-auto font-semibold max-sm:justify-between">
<div className="flex gap-2 h-full items-center w-fit"> <div className="flex gap-2 h-full items-center w-fit">
<Icon icon="humbleicons:exclamation" className="text-2xl min-w-6" /> <Icon icon="humbleicons:exclamation" className="text-2xl min-w-6" />
<span>{message}</span> <span>{message}</span>