Kaynağa Gözat

fix(admin): увеличить max-h списка до 17rem чтобы фильтры не скроллились

neyrogovnarik 1 hafta önce
ebeveyn
işleme
483ad7c815

+ 1 - 1
frontend/src/app/admin/page.tsx

@@ -129,7 +129,7 @@ export default function AdminModerationPage() {
         ) : places.length === 0 ? (
         ) : places.length === 0 ? (
           <p className="text-white/40">Нет мест</p>
           <p className="text-white/40">Нет мест</p>
         ) : (
         ) : (
-          <div className="max-h-[calc(100vh-15rem)] space-y-4 overflow-y-auto pb-8 pr-1">
+          <div className="max-h-[calc(100vh-17rem)] space-y-4 overflow-y-auto pb-8 pr-1">
           {places.map((place) => (
           {places.map((place) => (
             <div key={place.id} className="rounded-lg border border-white/10 bg-white/5 p-4">
             <div key={place.id} className="rounded-lg border border-white/10 bg-white/5 p-4">
               <div className="mb-2 flex items-center gap-3">
               <div className="mb-2 flex items-center gap-3">

+ 1 - 1
frontend/src/app/admin/users/page.tsx

@@ -141,7 +141,7 @@ export default function AdminUsersPage() {
 
 
       {(() => {
       {(() => {
         return (
         return (
-          <div className="max-h-[calc(100vh-15rem)] space-y-2 overflow-y-auto pb-8 pr-1">
+          <div className="max-h-[calc(100vh-17rem)] space-y-2 overflow-y-auto pb-8 pr-1">
             {users.map((user) => {
             {users.map((user) => {
               const isSelf = user.id === currentUser?.id
               const isSelf = user.id === currentUser?.id