diff --git a/app/assets/stylesheets/pages/case_contacts_form.scss b/app/assets/stylesheets/pages/case_contacts_form.scss index 5d924bf0d1..6007418ba6 100644 --- a/app/assets/stylesheets/pages/case_contacts_form.scss +++ b/app/assets/stylesheets/pages/case_contacts_form.scss @@ -15,21 +15,17 @@ &-checkbox { border-color: #757575; -} - - &.desktop-title { - display: none; - - @media only screen and (min-width: screen-sizes.$mobile) { - display: block; - } } - &.mobile-title { - display: block; + &-title { + @media only screen and (max-width: screen-sizes.$mobile) { + font-size: 28px; + } + } - @media only screen and (min-width: screen-sizes.$mobile) { - display: none; - } + &-subtitle { + @media only screen and (max-width: screen-sizes.$mobile) { + font-size: 24px; + } } } \ No newline at end of file diff --git a/app/components/form/title_component.html.erb b/app/components/form/title_component.html.erb index a45f0ed5eb..4935a40d4a 100644 --- a/app/components/form/title_component.html.erb +++ b/app/components/form/title_component.html.erb @@ -1,16 +1,14 @@