mirror of
1
Fork 0

fix: use column flex on mobile to prevent project title from wrapping

(cherry picked from commit dcae7d368c)
This commit is contained in:
Michael Zhang 2024-10-11 16:58:15 -05:00 committed by forgejo-backport-action
parent 7f4efb1c34
commit b8fc56885e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}
<div class="ui container tw-max-w-full">
<div class="tw-flex tw-justify-between tw-items-center tw-mb-4 tw-gap-3">
<div class="tw-flex max-sm:tw-flex-col tw-justify-between tw-items-center tw-mb-4 tw-gap-3">
<h2 class="tw-mb-0 tw-flex-1 tw-break-anywhere">{{.Project.Title}}</h2>
{{if $canWriteProject}}
<div class="ui compact mini menu">