updates: change 'px' to 'em' for width
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
{% block content %}
|
||||
<div class="row justify-content-start g-4 mb-4 py-4">
|
||||
{% for content_item in content_items %}
|
||||
<div class="col-auto align-items-stretch d-flex mx-2" style="max-width: 400px;">
|
||||
<div class="card h-100 px-0 rounded mx-1 my-3" style="width: 100%; width: 350px;">
|
||||
<div class="col-auto align-items-stretch d-flex mx-2" style="width: 100%; width: 24em;">
|
||||
<div class="card h-100 px-0 rounded mx-1 my-3" style="width: 100%; width: 22em;">
|
||||
<div class="card-header">
|
||||
{% if content_item.image_file %}
|
||||
<img src="{{ parent_path }}static/images/{{ content_item.image_file }}" alt="{{ content_item.title }}" class="card-img-top img-fluid mx-auto d-block object-fit-fill rounded" style="height: 200px; width: auto;">
|
||||
|
||||
Reference in New Issue
Block a user