update style

This commit is contained in:
Clas Wen 2025-05-24 17:47:49 +08:00
parent 5e12d7051e
commit 928162ece2
2 changed files with 6 additions and 6 deletions

View file

@ -27,8 +27,8 @@ makeLogtoClient().getIdTokenClaims().then((claims) => {
<div class="h-full flex items-center justify-between text-lg max-w-[1024px] mx-auto px-[22px]">
<span id="repair-header" class="font-semibold select-none cursor-default">维修</span>
<div class="flex items-center">
<div class="flex items-center gap-2 mr-4 text-sm text-gray-500">
<a class="hidden text-gray-500" id="repair-admin" href="/repair/admin" class="appearance-none text-gray-500 cursor-pointer">维修管理</a>
<div class="flex items-center gap-2 mr-4 text-xs text-gray-400">
<a class="hidden text-gray-500 hover:text-gray-700 appearance-none cursor-pointer" id="repair-admin" href="/repair/admin" style="text-decoration:none">维修管理</a>
</div>
<NavigationUser client:load />
</div>

View file

@ -387,16 +387,16 @@ export default function App() {
}
}, [])
return (
<section className="box-border mb-24">
<div className="section-content mt-6 flex justify-between items-center">
<h2 className="text-2xl font-bold"></h2>
<section className="box-border max-w-[1024px] mx-auto px-[22px] mb-24">
<div className="mt-6 flex justify-between items-center">
<div className="text-2xl font-bold"></div>
{
userInfo?.roles?.find(v => v.toLowerCase() == "repair admin")
? <ExportExcelModal></ExportExcelModal>
: <></>
}
</div>
<div className="section-content my-8 flex flex-col gap-4">
<div className="my-8 flex flex-col gap-4">
<Table
aria-label="Example table with dynamic content"
sortDescriptor={list.sortDescriptor}