Skip to content

Commit

Permalink
Merge pull request #221 from unikounio/chore/fix-participants-new-layout
Browse files Browse the repository at this point in the history
コンテスト参加画面のコンテスト名が長い場合に省略されるようにした
  • Loading branch information
unikounio authored Jan 7, 2025
2 parents 127401b + 33ff3b2 commit 916940b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/participants/new.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

| コンテストにご参加いただけます。

.flex.flex-col.justify-center.items-start.w-fit
.flex.items-center.mb-2.overflow-hidden.text-xl
.flex.flex-col.justify-center.items-start
.flex.items-center.mb-2.overflow-hidden.text-xl.w-full
.font-medium.text-stone-500.text-right.pr-2.flex-shrink-0.w-32 = 'コンテスト名 '
.font-bold.text-stone-900.ml-2.truncate = @contest.name

.flex.justify-center.items-center.mb-4.text-xl
.font-medium.text-stone-500.text-right.pr-2.flex-shrink-0.w-32 = '投票期日 '
.font-bold.text-stone-900.ml-2
= "#{@contest.deadline.strftime('%Y/%m/%d')} まで"
.font-medium.text-stone-500.text-right.pr-2.flex-shrink-0.w-32 = '投票期日 '
.font-bold.text-stone-900.ml-2
= "#{@contest.deadline.strftime('%Y/%m/%d')} まで"

.mt-8.flex.justify-center.items-center.flex-col
- if user_signed_in?
Expand Down

0 comments on commit 916940b

Please sign in to comment.