Skip to content

Commit

Permalink
Merge pull request #219 from unikounio/chore/form-mobile-layout-adjus…
Browse files Browse the repository at this point in the history
…tments

フォームのコンテストラベルがモバイルで折り返されてしまう点を修正した
  • Loading branch information
unikounio authored Jan 7, 2025
2 parents 4de9b57 + b042ad9 commit eb92a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/contests/_form.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
.flex.items-center.mb-4
= f.label :name, t('activerecord.attributes.contest.name'),
class: 'text-base font-medium text-stone-700 text-right \
pr-2 flex-shrink-0 w-24'
pr-2 flex-shrink-0 w-28'
= f.text_field :name, class: 'block border-stone-300 rounded-md \
focus:ring-cyan-500 focus:border-cyan-500'

.flex.items-center.w-full.mb-4
= f.label :deadline, t('activerecord.attributes.contest.deadline'),
class: 'text-base font-medium text-stone-700 text-right \
pr-2 flex-shrink-0 w-24'
pr-2 flex-shrink-0 w-28'
= f.date_field :deadline,
class: 'block w-30 border-stone-300 rounded-md \
focus:ring-cyan-500 focus:border-cyan-500'
Expand Down

0 comments on commit eb92a06

Please sign in to comment.