Skip to content

Commit 8d5eda0

Browse files
albinazsthibaudcolas
authored andcommitted
Linting
1 parent 26bfd2b commit 8d5eda0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bakerydemo/base/templatetags/navigation_tags.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def get_site_root(context):
1414
# attribute 'get_children')
1515
return Site.find_for_request(context["request"]).root_page
1616

17+
1718
def has_children(page):
1819
# Generically allow index pages to list their children
1920
return page.get_children().live().exists()
@@ -44,6 +45,7 @@ def top_menu(context, parent, calling_page=None):
4445
"request": context["request"],
4546
}
4647

48+
4749
@register.inclusion_tag("tags/breadcrumbs.html", takes_context=True)
4850
def breadcrumbs(context):
4951
self = context.get("self")

bakerydemo/static/css/main.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ blockquote .attribute-name {
408408
}
409409

410410
/* stylelint-disable-next-line selector-class-pattern */
411-
.block-paragraph_block a, .block-ingredients_list a {
411+
.block-paragraph_block a,
412+
.block-ingredients_list a {
412413
text-decoration: underline;
413414
}
414415

@@ -1761,7 +1762,7 @@ input[type='radio'] {
17611762
}
17621763

17631764
.picture-card__link:hover .picture-card__image img {
1764-
transform: scale(1.00);
1765+
transform: scale(1.05);
17651766
}
17661767

17671768
.picture-card__link:hover .picture-card__title {

0 commit comments

Comments
 (0)