Skip to content

Commit

Permalink
remove old css & class
Browse files Browse the repository at this point in the history
  • Loading branch information
thejonroberts committed Sep 23, 2024
1 parent fd70555 commit cb2b324
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
30 changes: 8 additions & 22 deletions app/assets/stylesheets/pages/case_contacts_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,14 @@
font-size: medium;
}

.case-contacts-form {
&-buttons {
display: flex;
justify-content: flex-end;
gap: 10px;

@media only screen and (max-width: screen-sizes.$mobile) {
& > a, & > button {
flex-grow: 1;
}
}
}

&-title {
@media only screen and (max-width: screen-sizes.$mobile) {
font-size: 28px;
}
}

&-subtitle {
@media only screen and (max-width: screen-sizes.$mobile) {
font-size: 24px;
#contact-form-action-buttons {
display: flex;
justify-content: flex-end;
gap: 10px;

@media only screen and (max-width: screen-sizes.$mobile) {
& > a, & > button {
flex-grow: 1;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/case_contacts/form/details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
</section>
<% end %>

<div id="contact-form-action-buttons" class="actions mb-10 case-contacts-form-buttons">
<div id="contact-form-action-buttons" class="actions mb-10">
<div class="checkbox-style pt-1">
<%= form.fields_for :metadata do |metadata_form| %>
<%= metadata_form.check_box :create_another, class: "form-check-input" %>
Expand Down

0 comments on commit cb2b324

Please sign in to comment.