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;
|
content: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help__content.fr-menu ul.fr-menu__list {
|
.help-content.fr-menu ul.fr-menu__list {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: 1rem;
|
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;
|
padding: 0.75rem 1rem;
|
||||||
|
|
||||||
@media (min-width: 62em) {
|
@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) {
|
@media (min-width: 62em) {
|
||||||
border-bottom: 1px solid $border-grey;
|
border-bottom: 1px solid $border-grey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.help__content.fr-menu ul.fr-menu__list {
|
.help-content.fr-menu ul.fr-menu__list {
|
||||||
h1, p {
|
h1,
|
||||||
|
p {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||||
= t('help')
|
= 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")
|
- title = dossier.brouillon? ? t("help_dropdown.help_brouillon_title") : t("help_dropdown.help_filled_dossier")
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||||
= t('help')
|
= t('help')
|
||||||
|
|
||||||
#help-menu.help__content.fr-collapse.fr-menu
|
#help-menu.help-content.fr-collapse.fr-menu
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
%li.flex
|
%li.flex
|
||||||
= render partial: 'shared/help/dropdown_items/faq_item'
|
= 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" }
|
%button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" }
|
||||||
= t('help')
|
= t('help')
|
||||||
|
|
||||||
#help-menu.help__content.fr-collapse.fr-menu
|
#help-menu.help-content.fr-collapse.fr-menu
|
||||||
%ul.fr-menu__list
|
%ul.fr-menu__list
|
||||||
- if procedure.service.present?
|
- if procedure.service.present?
|
||||||
%li.flex
|
%li.flex
|
||||||
|
|
|
@ -16,7 +16,7 @@ describe 'Getting help:' do
|
||||||
expect(page).to have_help_menu
|
expect(page).to have_help_menu
|
||||||
end
|
end
|
||||||
|
|
||||||
within('.help__content') do
|
within('.help-content') do
|
||||||
expect(page).to have_content(procedure.service.email)
|
expect(page).to have_content(procedure.service.email)
|
||||||
expect(page).to have_content(procedure.service.telephone)
|
expect(page).to have_content(procedure.service.telephone)
|
||||||
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
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
|
expect(page).to have_help_menu
|
||||||
end
|
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.email)
|
||||||
expect(page).to have_content(dossier.procedure.service.telephone)
|
expect(page).to have_content(dossier.procedure.service.telephone)
|
||||||
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
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
|
expect(page).to have_help_menu
|
||||||
end
|
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: messagerie_dossier_path(dossier))
|
||||||
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
expect(page).to have_link(nil, href: I18n.t("links.common.faq.url"))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue