cleanup
This commit is contained in:
parent
0d128ffac7
commit
0adffd4212
@ -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;
|
||||
|
@ -63,17 +63,12 @@ const FlagTile = ({ flag }: { flag: APIFlag }) => {
|
||||
|
||||
|
||||
const FlagListElement = ({ flag }: { flag: APIFlag, onClick?: React.ReactEventHandler }) => {
|
||||
// return <div className='card flag list-element clickable mt-2 mb-2' onClick={onClick}>
|
||||
// <b>{flag.name}</b> [{flag.type}] ({flag.id})
|
||||
// </div>;
|
||||
return <details className='card list-element mt-2 mb-2'>
|
||||
<summary className="clickable">
|
||||
<i className="list-carrot"></i>
|
||||
<b>{flag.name}</b> [{flag.type}] ({flag.id})
|
||||
</summary>
|
||||
|
||||
<Flag flag={flag} />
|
||||
|
||||
</details>;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user