File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 41
41
<div class="milestone-list">
42
42
{{range .Projects}}
43
43
<li class="milestone-card">
44
- <h3 class="flex-text-block tw-m-0">
44
+ <h3 class="flex-text-block tw-m-0 tw-gap-3 ">
45
45
{{svg .IconName 16}}
46
- <a class="muted" href="{{.Link ctx}}">{{.Title}}</a>
46
+ <a class="muted tw-break-anywhere " href="{{.Link ctx}}">{{.Title}}</a>
47
47
</h3>
48
48
<div class="milestone-toolbar">
49
49
<div class="group">
Original file line number Diff line number Diff line change 1
1
{{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}
2
2
3
- <div class="ui container">
4
- <div class="tw-flex tw-justify-between tw-items-center tw-mb-4">
5
- <h2 class="tw-mb-0">{{.Project.Title}}</h2>
3
+ <div class="ui container tw-max-w-full ">
4
+ <div class="tw-flex tw-justify-between tw-items-center tw-mb-4 tw-gap-3 ">
5
+ <h2 class="tw-mb-0 tw-flex-1 tw-break-anywhere ">{{.Project.Title}}</h2>
6
6
{{if $canWriteProject}}
7
7
<div class="ui compact mini menu">
8
8
<a class="item" href="{{.Link}}/edit?redirect=project">
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ only use:
52
52
*/
53
53
.tw-hidden .tw-hidden { display : none !important ; }
54
54
55
+ /* proposed class from https://github.com/tailwindlabs/tailwindcss/pull/12128 */
56
+ .tw-break-anywhere { overflow-wrap : anywhere !important ; }
57
+
55
58
@media (max-width : 767.98px ) {
56
59
/* double selector so it wins over .tw-flex (old .gt-df) etc */
57
60
.not-mobile .not-mobile {
You can’t perform that action at this time.
0 commit comments