Skip to content

Commit d551efa

Browse files
committed
remove old css & class
1 parent fd70555 commit d551efa

File tree

3 files changed

+9
-32
lines changed

3 files changed

+9
-32
lines changed

app/assets/stylesheets/pages/case_contacts.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// This is unscoped, if re-implemented, add scope for elements.
2-
// fieldset {
3-
// border: 1px double #CCC;
4-
// }
5-
61
.slide-container {
72
padding: 0rem 1rem;
83
}
94

10-
legend {
11-
font-size: small;
12-
}
13-
145
.slider {
156
display: inline;
167
}

app/assets/stylesheets/pages/case_contacts_form.scss

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,14 @@
3535
font-size: medium;
3636
}
3737

38-
.case-contacts-form {
39-
&-buttons {
40-
display: flex;
41-
justify-content: flex-end;
42-
gap: 10px;
43-
44-
@media only screen and (max-width: screen-sizes.$mobile) {
45-
& > a, & > button {
46-
flex-grow: 1;
47-
}
48-
}
49-
}
50-
51-
&-title {
52-
@media only screen and (max-width: screen-sizes.$mobile) {
53-
font-size: 28px;
54-
}
55-
}
56-
57-
&-subtitle {
58-
@media only screen and (max-width: screen-sizes.$mobile) {
59-
font-size: 24px;
38+
#contact-form-action-buttons {
39+
display: flex;
40+
justify-content: flex-end;
41+
gap: 10px;
42+
43+
@media only screen and (max-width: screen-sizes.$mobile) {
44+
& > a, & > button {
45+
flex-grow: 1;
6046
}
6147
}
6248
}

app/views/case_contacts/form/details.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
</section>
252252
<% end %>
253253

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

0 commit comments

Comments
 (0)