Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ダイアログの横幅に変な余白があるので幅調整 #182

Merged
merged 3 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading