소스 검색

Added missing semicolons in film_strip_block template (#583)

Added missing semicolons in film_strip_block template. Without them, you
cannot redefine both background and text colors.
cjkpl 1 년 전
부모
커밋
41d4ce83b9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      coderedcms/templates/coderedcms/blocks/film_strip_block.html

+ 2 - 2
coderedcms/templates/coderedcms/blocks/film_strip_block.html

@@ -9,8 +9,8 @@
         {% image panel.background_image original as image %}
         <div data-block="film-panel" class="col-auto col crx-filmstrip-panel {{panel.custom_css_class}}" {% if panel.custom_id %}id="{{panel.custom_id}}"{% endif %} style="
           {% if image %}background-image: url({{image.url}}); background-size: cover; background-position: center;{% endif %}
-          {% if panel.background_color %}background-color: {{panel.background_color}}{% endif %}
-          {% if panel.foreground_color %}color: {{panel.foreground_color}}{% endif %}
+          {% if panel.background_color %}background-color: {{panel.background_color}};{% endif %}
+          {% if panel.foreground_color %}color: {{panel.foreground_color}};{% endif %}
         ">
           {% include_block panel.content %}
         </div>