Skip to content

Commit 0c142e3

Browse files
committed
Fix frontend alert alignment
1 parent 9c52ddd commit 0c142e3

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

frontend/src/templates/AdminInvitesPage.mlx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ let[@react.component] make
141141
</div>
142142
| None ->
143143
null )
144-
<div className=(if List.length invites > 0 then "overflow-x-auto" else "overflow-x-hidden")>
144+
<div
145+
className=( if List.length invites > 0 then "overflow-x-auto"
146+
else "overflow-x-hidden" )>
145147
<table
146148
className="w-full grid border-collapse text-sm"
147149
style=(ReactDOM.Style.make

frontend/src/templates/AdminUsersPage.mlx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ let[@react.component] make
183183
</div>
184184
| None ->
185185
null )
186-
<div className=(if List.length actors > 0 then "overflow-x-auto" else "overflow-x-hidden")>
186+
<div
187+
className=( if List.length actors > 0 then "overflow-x-auto"
188+
else "overflow-x-hidden" )>
187189
<table
188190
className="w-full min-w-xl grid border-collapse text-sm"
189191
style=(ReactDOM.Style.make

frontend/src/templates/MigratePage.mlx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module AlertMessage = struct
9595
, "text-mana-100"
9696
, <CheckmarkIcon className="w-4 h-4 mr-2 mt-0.5 flex-shrink-0" /> )
9797
in
98-
<div className=("mb-4 p-3 border rounded-lg " ^ bg_class)>
98+
<div className=("flex mb-4 p-3 border rounded-lg " ^ bg_class)>
9999
<span className=("inline-flex items-start text-sm " ^ text_class)>
100100
icon <span>(string message)</span>
101101
</span>
@@ -476,7 +476,7 @@ module CompleteView = struct
476476
match old_account_deactivation_error with
477477
| Some err ->
478478
<div
479-
className="mb-4 p-3 bg-phoenix-100/10 border \
479+
className="flex mb-4 p-3 bg-phoenix-100/10 border \
480480
border-phoenix-100/30 rounded-lg">
481481
<div className="flex items-start gap-2">
482482
<CircleAlertIcon
@@ -505,8 +505,8 @@ module CompleteView = struct
505505
</p> )
506506
( if blobs_failed > 0 then
507507
<div
508-
className="mb-4 p-3 bg-phoenix-100/10 border border-phoenix-100/30 \
509-
rounded-lg">
508+
className="flex mb-4 p-3 bg-phoenix-100/10 border \
509+
border-phoenix-100/30 rounded-lg">
510510
<p className="text-sm text-phoenix-100">
511511
(string
512512
(Printf.sprintf

frontend/src/templates/OauthAuthorizePage.mlx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ module ScopesTable = struct
238238
<div className="text-sm text-mist-100">
239239
(string
240240
( if level = `Full then
241-
"Manage your full identity including your @handle, with the ability to move your account to another PDS or permanently lock you out of your account."
241+
"Manage your full identity including your @handle, with \
242+
the ability to move your account to another PDS or \
243+
permanently lock you out of your account."
242244
else "Change your @handle" ) )
243245
</div>
244246
</div>

0 commit comments

Comments
 (0)