From 0adffd4212991d21e80d5cac3d4d3f336c54a1a0 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 15 May 2023 20:37:20 +0300 Subject: [PATCH] cleanup --- src/css/pages/Admin.css | 3 +++ src/pages/admin/Flags.tsx | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/css/pages/Admin.css b/src/css/pages/Admin.css index 49d4f2c..b869a5c 100644 --- a/src/css/pages/Admin.css +++ b/src/css/pages/Admin.css @@ -76,6 +76,9 @@ details .flag { margin-right: 8px; margin-left: 3px; } +.list-element:has(div.unsaved) { + outline: solid 1px #ffb300a6; +} .list.open > .listHeader > .list-carrot, .list .listBody details[open] summary > .list-carrot{ transform: rotate(-90deg); transition: transform ease-in-out 0.1s; diff --git a/src/pages/admin/Flags.tsx b/src/pages/admin/Flags.tsx index 55d5853..e99ee9c 100644 --- a/src/pages/admin/Flags.tsx +++ b/src/pages/admin/Flags.tsx @@ -63,17 +63,12 @@ const FlagTile = ({ flag }: { flag: APIFlag }) => { const FlagListElement = ({ flag }: { flag: APIFlag, onClick?: React.ReactEventHandler }) => { - // return
- // {flag.name} [{flag.type}] ({flag.id}) - //
; return
{flag.name} [{flag.type}] ({flag.id}) - -
; };