refactor: better class naming
This commit is contained in:
parent
55e80bd115
commit
e05b0e9dfc
2 changed files with 2 additions and 2 deletions
|
|
@ -292,7 +292,7 @@
|
|||
margin-right: -2px;
|
||||
margin-left: -2px;
|
||||
|
||||
.grid-image {
|
||||
.image-container {
|
||||
overflow: hidden;
|
||||
border: 2px solid #fff;
|
||||
border-radius: $border-radius;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
{%- set image = values['image_' + index ] -%}
|
||||
{%- set class = "narrow" if index in ['1', '4'] else "wide" -%}
|
||||
{%- if image -%}
|
||||
<div class="grid-image {{ class }}">
|
||||
<div class="image-container {{ class }}">
|
||||
{{ frappe.render_template('templates/includes/image_with_blur.html', {
|
||||
"src": image
|
||||
}) }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue