Change help__content to help-content to conform linting Regex
This commit is contained in:
parent
4e1332431b
commit
e358f196e9
5 changed files with 12 additions and 11 deletions
|
@ -248,7 +248,7 @@ ul.dropdown-items {
|
|||
content: none;
|
||||
}
|
||||
|
||||
.help__content.fr-menu ul.fr-menu__list {
|
||||
.help-content.fr-menu ul.fr-menu__list {
|
||||
text-align: left;
|
||||
font-size: 1rem;
|
||||
|
||||
|
@ -259,7 +259,7 @@ ul.dropdown-items {
|
|||
}
|
||||
}
|
||||
|
||||
.help__content.fr-menu ul.fr-menu__list li {
|
||||
.help-content.fr-menu ul.fr-menu__list li {
|
||||
padding: 0.75rem 1rem;
|
||||
|
||||
@media (min-width: 62em) {
|
||||
|
@ -268,14 +268,15 @@ ul.dropdown-items {
|
|||
}
|
||||
}
|
||||
|
||||
.help__content.fr-menu ul.fr-menu__list li:not(:last-child) {
|
||||
.help-content.fr-menu ul.fr-menu__list li:not(:last-child) {
|
||||
@media (min-width: 62em) {
|
||||
border-bottom: 1px solid $border-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.help__content.fr-menu ul.fr-menu__list {
|
||||
h1, p {
|
||||
.help-content.fr-menu ul.fr-menu__list {
|
||||
h1,
|
||||
p {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||
= t('help')
|
||||
|
||||
#help-menu.help__content.fr-collapse.fr-menu
|
||||
#help-menu.help-content.fr-collapse.fr-menu
|
||||
- title = dossier.brouillon? ? t("help_dropdown.help_brouillon_title") : t("help_dropdown.help_filled_dossier")
|
||||
%ul.fr-menu__list
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||
= t('help')
|
||||
|
||||
#help-menu.help__content.fr-collapse.fr-menu
|
||||
#help-menu.help-content.fr-collapse.fr-menu
|
||||
%ul.fr-menu__list
|
||||
%li.flex
|
||||
= render partial: 'shared/help/dropdown_items/faq_item'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||
= t('help')
|
||||
|
||||
#help-menu.help__content.fr-collapse.fr-menu
|
||||
#help-menu.help-content.fr-collapse.fr-menu
|
||||
%ul.fr-menu__list
|
||||
- if procedure.service.present?
|
||||
%li.flex
|
||||
|
|
|
@ -16,7 +16,7 @@ describe 'Getting help:' do
|
|||
expect(page).to have_help_menu
|
||||
end
|
||||
|
||||
within('.help__content') do
|
||||
within('.help-content') do
|
||||
expect(page).to have_content(procedure.service.email)
|
||||
expect(page).to have_content(procedure.service.telephone)
|
||||
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
||||
|
@ -49,7 +49,7 @@ describe 'Getting help:' do
|
|||
expect(page).to have_help_menu
|
||||
end
|
||||
|
||||
within('.help__content') do
|
||||
within('.help-content') do
|
||||
expect(page).to have_content(dossier.procedure.service.email)
|
||||
expect(page).to have_content(dossier.procedure.service.telephone)
|
||||
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
||||
|
@ -67,7 +67,7 @@ describe 'Getting help:' do
|
|||
expect(page).to have_help_menu
|
||||
end
|
||||
|
||||
within('.help__content') do
|
||||
within('.help-content') do
|
||||
expect(page).to have_link(nil, href: messagerie_dossier_path(dossier))
|
||||
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue