Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 33c0f39

Browse files
authored
refactor: external link modal break words (#644)
1 parent a424818 commit 33c0f39

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

resources/assets/css/_alerts.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
}
44

55
.alert-icon-wrapper {
6-
@apply flex w-11 h-11 items-center justify-center rounded;
6+
@apply flex w-11 h-11 items-center justify-center rounded flex-shrink-0;
77
}
88

99
.alert-content-wrapper {
1010
overflow-wrap: anywhere;
1111

12-
@apply flex flex-col justify-center text-theme-secondary-900 pt-4 w-full text-center;
12+
@apply flex flex-col justify-center text-theme-secondary-900 pt-4 w-full text-center overflow-auto;
1313
}
1414

1515
@screen sm {
@@ -189,7 +189,7 @@
189189
.alert-simple-warning a,
190190
.alert-simple-error a,
191191
.alert-simple-danger a,
192-
.alert-simple-hint a  {
192+
.alert-simple-hint a {
193193
@apply font-semibold transition-default;
194194
}
195195

resources/views/external-link-confirm.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class="w-full max-w-2xl text-left rounded-xl"
3636
<div class="flex flex-col mt-8 space-y-4 whitespace-normal">
3737
<div class="font-semibold text-theme-secondary-900">
3838
<div class="alert-wrapper alert-warning">
39-
<div class="alert-icon-wrapper alert-warning-icon">
39+
<div class="alert-icon-wrapper alert-warning-icon flex-no-wrap">
4040
<div class="p-1 rounded-full border-2 border-white">
4141
<x-ark-icon
4242
name="exclamation-mark"
@@ -46,7 +46,7 @@ class="w-full max-w-2xl text-left rounded-xl"
4646
</div>
4747
</div>
4848
<div class="alert-content-wrapper alert-warning-content">
49-
<span class="block leading-6 break-all" x-text="url"></span>
49+
<span class="block leading-6 break-words" x-text="url"></span>
5050
</div>
5151
</div>
5252
</div>

0 commit comments

Comments
 (0)