Skip to content

Commit

Permalink
feat(moderation): reduce spacing size
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Oct 7, 2024
1 parent a31591d commit b295309
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default new Hono().get(
async function GET({ render, req }) {
const { id } = req.valid("param");
const { organization_id, user_id } = req.valid("query");

return render(
<Duplicate_Warning
moderation_id={id}
Expand Down
12 changes: 6 additions & 6 deletions packages/~/moderations/api/src/:id/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default async function Moderation_Page() {
<Header />
</Header.Provier>

<hr class="my-12" />
<hr class="my-3" />

<div class="grid grid-cols-2 gap-6">
<About_User user={moderation.user} />
Expand Down Expand Up @@ -103,21 +103,21 @@ export default async function Moderation_Page() {
user={moderation.user}
query_organization_count={CountUserMemberships({ pg: moncomptepro_pg })}
/>
<hr class="my-12" />
<hr class="my-3" />

<DomainsByOrganization
organization={moderation.organization}
query_domain_count={query_domain_count}
/>

<hr class="my-12 bg-none" />
<hr class="my-3 bg-none" />

<UsersByOrganization
organization={moderation.organization}
query_members_count={query_organization_members_count}
/>

<hr class="my-12 bg-none" />
<hr class="my-3 bg-none" />

<Actions
value={{
Expand All @@ -131,11 +131,11 @@ export default async function Moderation_Page() {
}}
/>

<hr class="my-12 bg-none" />
<hr class="my-3 bg-none" />

<hr />

<hr class="my-12 bg-none" />
<hr class="my-3 bg-none" />

<Moderation_Exchanges />
</main>
Expand Down
6 changes: 3 additions & 3 deletions packages/~/moderations/ui/src/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,13 @@ export async function Header() {
</div>
</section>

<hr class="bg-none" />

<ModerationCallout />

<hr class="bg-none" />

<Info />

<hr class="bg-none" />
<hr class="bg-none" />g

<Comments />

Expand Down Expand Up @@ -109,6 +107,8 @@ async function ModerationCallout() {

return (
<div class={base()}>
<hr class="bg-none" />

<h3 class={text()}>Modération traitée</h3>
<p class={title()}>
Cette modération a été marqué comme traitée le{" "}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ exports[`render header section 1`] = `
<div><p class="fr-badge fr-badge--new">A traiter</p></div>
</section>
<hr class="bg-none" />
<hr class="bg-none" />
<div class="fr-notice fr-notice--info">
<div class="fr-container">
<div class="fr-notice__body">
Expand Down

0 comments on commit b295309

Please sign in to comment.