Skip to content

Commit

Permalink
Merge pull request #182 from kufu/fix-edit-team-dialog-width
Browse files Browse the repository at this point in the history
ダイアログの横幅に変な余白があるので幅調整
  • Loading branch information
kinoppyd authored May 10, 2024
2 parents 3280d63 + 35de55f commit f9b804c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/views/plans/_description_dialog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p class="text-xl"><%= I18n.t('description.form_titme') %></p>
</div>
<div class="max-h-[calc(100vh-212px)] overflow-auto">
<div class="w-full sm:w-[656px] p-6">
<div class="w-full p-6">
<%= f.text_area :description, class: "border opacity-100 rounded-md border border-[rgb(214,211,208)] bg-white p-2 text-[rgb(35,34,30)] w-full", data: { "word-counter-target": "source", action: "input->word-counter#calc" } %>
<div class="font-xs mt-2 text-[rgb(112,109,101)]">
<span data-word-counter-target="counter"></span>/<%= plan_description_max_length %>
Expand All @@ -21,4 +21,4 @@
</div>
</div>
<% end %>
</dialog>
</dialog>
4 changes: 2 additions & 2 deletions app/views/plans/_password_dialog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p class="my-0 text-xl"><%= I18n.t('settings.title') %></p>
</div>
<div class="max-h-[calc(100vh-212px)] overflow-auto">
<div class="w-full sm:w-[656px] p-6 border-b border-[rgb(214,211,208)]">
<div class="w-full p-6 border-b border-[rgb(214,211,208)]">
<div class="py-2 w-full">
<div><%= f.label :password, I18n.t('dialog.input_password'), class: "text-[rgb(112,109,101)] font-bold" %></div>
<div class="mt-4">
Expand All @@ -21,4 +21,4 @@
</div>
</div>
<% end %>
</dialog>
</dialog>
4 changes: 2 additions & 2 deletions app/views/plans/_rename_dialog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p class="text-xl"><%= I18n.t('dialog.edit_title') %></p>
</div>
<div class="max-h-[calc(100vh-212px)] overflow-auto">
<div class="w-full sm:w-[656px] p-6">
<div class="w-full p-6">
<%= f.text_area :title, class: "border opacity-100 rounded-md border border-[rgb(214,211,208)] bg-white p-2 text-[rgb(35,34,30)] w-full", data: { "word-counter-target": "source", action: "input->word-counter#calc" } %>
<div class="font-xs mt-2 text-[rgb(112,109,101)]">
<span data-word-counter-target="counter"></span>/<%= plan_title_max_length %>
Expand All @@ -21,4 +21,4 @@
</div>
</div>
<% end %>
</dialog>
</dialog>
4 changes: 2 additions & 2 deletions app/views/plans/_setting_dialog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p class="my-0 text-xl"><%= I18n.t('settings.title') %></p>
</div>
<div class="max-h-[calc(100vh-212px)] overflow-auto">
<div class="w-full sm:w-[656px] p-6 border-b border-[rgb(214,211,208)]">
<div class="w-full p-6 border-b border-[rgb(214,211,208)]">
<div class="py-2 w-full">
<div><%= f.label :password, I18n.t('settings.set_password'), class: "text-[rgb(112,109,101)] font-bold" %></div>
<div class="mt-2"><%= I18n.t('settings.password_expression') %></div>
Expand Down Expand Up @@ -41,4 +41,4 @@
</div>
</div>
<% end %>
</dialog>
</dialog>
4 changes: 2 additions & 2 deletions app/views/profiles/_dialog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p class="text-xl"><%= I18n.t('dialog.edit_introduce') %></p>
</div>
<div class="max-h-[calc(100vh-212px)] overflow-auto">
<div class="w-full sm:w-[656px] p-6">
<div class="w-full p-6">
<%= f.text_area :introduce, class: "border opacity-100 rounded-md border border-[rgb(214,211,208)] bg-white p-2 text-[rgb(35,34,30)] w-full", data: { "word-counter-target": "source", action: "input->word-counter#calc" } %>
<div class="font-xs mt-2 text-[rgb(112,109,101)]">
<span data-word-counter-target="counter"></span>/<%= profile_introduce_max_length %>
Expand All @@ -20,4 +20,4 @@
</div>
</div>
<% end %>
</dialog>
</dialog>
2 changes: 1 addition & 1 deletion app/views/schedules/_card.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<p class="text-xl"><%= I18n.t('dialog.edit_memo', title: schedule.title) %></p>
</div>
<div class="max-h-[calc(100vh-212px)] overflow-auto">
<div class="w-[656px] p-6">
<div class="w-full p-6">
<%= f.hidden_field :edit_memo_schedule_id, value: schedule.id %>
<%= f.text_area :memo, value: @plan.plan_schedules.find { _1.schedule == schedule }&.memo, class: "border opacity-100 rounded-md border border-[rgb(214,211,208)] bg-white p-2 text-[rgb(35,34,30)] w-full", data: { "word-counter-target": "source", action: "input->word-counter#calc" } %>
<div class="font-xs mt-2 text-[rgb(112,109,101)]">
Expand Down
4 changes: 2 additions & 2 deletions app/views/teams/_rename_dialog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ul>
</div>
<% end %>
<div class="w-full: sm:w-[656px] p-6">
<div class="w-full p-6">
<%= f.text_area :name, class: "border opacity-100 rounded-md border border-[rgb(214,211,208)] bg-white p-2 text-[rgb(35,34,30)] w-full", data: { "word-counter-target": "source", action: "input->word-counter#calc" } %>
<div class="font-xs mt-2 text-[rgb(112,109,101)]">
<span data-word-counter-target="counter"></span>/<%= team_name_max_length %>
Expand All @@ -31,4 +31,4 @@
</div>
<% end %>
<% end %>
</dialog>
</dialog>

0 comments on commit f9b804c

Please sign in to comment.