mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 15:17:43 -05:00
Clean up random things
This commit is contained in:
@@ -28,7 +28,6 @@ export default function BadgesPageLayout() {
|
||||
<Outlet />
|
||||
<div className="badges__small-badges">
|
||||
{data.badges.map((badge) => (
|
||||
// xxx: firefox and squid junction avif fails to display
|
||||
<NavLink
|
||||
className="badges__nav-link"
|
||||
key={badge.id}
|
||||
|
||||
@@ -55,7 +55,6 @@ export const action: ActionFunction = async ({ request, params }) => {
|
||||
return null;
|
||||
};
|
||||
|
||||
// xxx: on SSR modal flickers first shown at top
|
||||
export default function EditBadgePage() {
|
||||
const user = useUser();
|
||||
const matches = useMatches();
|
||||
|
||||
@@ -90,7 +90,7 @@ export default function PlusCommentModalPage() {
|
||||
}
|
||||
|
||||
return (
|
||||
<Dialog className="plus__modal" isOpen>
|
||||
<Dialog isOpen>
|
||||
<Form method="post" className="stack md">
|
||||
<input type="hidden" name="tier" value={tierSuggestedTo} />
|
||||
<input type="hidden" name="suggestedId" value={targetUserId} />
|
||||
|
||||
@@ -123,7 +123,7 @@ export default function PlusNewSuggestionModalPage() {
|
||||
});
|
||||
|
||||
return (
|
||||
<Dialog className="plus__modal" isOpen>
|
||||
<Dialog isOpen>
|
||||
<Form method="post" className="stack md">
|
||||
<h2 className="plus__modal-title">Adding a new suggestion</h2>
|
||||
<div>
|
||||
|
||||
@@ -353,6 +353,7 @@ abbr[title] {
|
||||
}
|
||||
|
||||
dialog {
|
||||
width: min(90%, 24rem);
|
||||
border: 0;
|
||||
margin: auto;
|
||||
background-color: var(--bg);
|
||||
|
||||
@@ -73,10 +73,6 @@
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.plus__modal {
|
||||
width: min(90%, 24rem);
|
||||
}
|
||||
|
||||
.plus__modal-title {
|
||||
font-size: var(--fonts-sm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user