fix page css

This commit is contained in:
Chuck1sn
2025-06-04 10:23:19 +08:00
parent ad5b20d3c5
commit 34e0d3d8e7
16 changed files with 88 additions and 30 deletions

View File

@@ -24,7 +24,7 @@
</div>
</form>
<Button :handleClick="() => handleUpsertDepartmentClick()" :isLoading="false" :abortable="false"
submitContent="新增部门" size="sm" class="w-full sm:w-auto">
submitContent="新增部门" class="w-full sm:w-auto">
<template #icon>
<svg class="w-4 h-4 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">

View File

@@ -2,7 +2,10 @@
<div class="flex flex-col items-center justify-center h-screen bg-gray-100">
<div class="w-full max-w-xs sm:max-w-sm p-4 bg-white border border-gray-200 rounded-lg shadow-sm sm:p-6 md:p-8">
<form class="flex flex-col gap-y-4 sm:gap-y-5" action="#">
<h5 class="text-xl sm:text-2xl font-medium text-gray-900">知路管理后台</h5>
<h5 class="text-xl sm:text-2xl font-medium text-gray-900 flex items-center gap-x-2">
<img src="/logo.svg" alt="logo">
<span>知路管理后台</span>
</h5>
<div>
<label for="username" class="block mb-2 text-sm font-medium text-gray-900">用户名</label>
<input type="text" name="email" id="username" v-model="username"

View File

@@ -25,7 +25,7 @@
</form>
<!-- Create Modal toggle -->
<Button :handleClick="() => handleUpsertPermissionClick(undefined)" :isLoading="false" :abortable="false"
submitContent="新增权限" size="sm" class="w-full sm:w-auto">
submitContent="新增权限" class="w-full sm:w-auto">
<template #icon>
<svg class="w-4 h-4 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">

View File

@@ -25,7 +25,7 @@
</form>
<!-- Create Modal toggle -->
<Button :handleClick="() => handleUpsertPositionClick()" :isLoading="false" :abortable="false"
submitContent="新增岗位" size="sm" class="w-full sm:w-auto">
submitContent="新增岗位" class="w-full sm:w-auto">
<template #icon>
<svg class="w-4 h-4 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">

View File

@@ -25,7 +25,7 @@
</form>
<!-- Create Modal toggle -->
<Button :handleClick="() => handleUpsertRoleClick(undefined)" :isLoading="false" :abortable="false"
submitContent="新增角色" size="sm" class="w-full sm:w-auto">
submitContent="新增角色" class="w-full sm:w-auto">
<template #icon>
<svg class="w-4 h-4 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">

View File

@@ -25,7 +25,7 @@
</form>
<!-- Create Modal toggle -->
<Button :handleClick="() => handleUpsertUserClick(undefined)" :isLoading="false" :abortable="false"
submitContent="新增用户" size="sm" class="w-full sm:w-auto">
submitContent="新增用户" class="w-full sm:w-auto">
<template #icon>
<svg class="w-4 h-4 me-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">