Browse Source

Add .h-100 to avoid empty spaces

master
The Dod 1 year ago
parent
commit
3fb7895598
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      templates/index.html

+ 4
- 4
templates/index.html View File

@@ -5,7 +5,7 @@
5 5
     <title>{{title|safe}}</title>
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1">
7 7
     <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
8
-    <link rel="stylesheet" href="/static/css/bootstrap{% if is_rtl %}-rtl{% endif %}.min.css">
8
+    <link rel="stylesheet" href="{{ url_for('static', filename='css') }}/bootstrap{% if is_rtl %}-rtl{% endif %}.min.css">
9 9
     <meta property="og:image" content="{{ url_for('static', filename='hashtag.png', _external=True) }}">
10 10
   </head>
11 11
   <body>
@@ -13,20 +13,20 @@
13 13
       <div class="row" id="entries">
14 14
         {% for entry in feed.entries %}
15 15
           <div class="col-12 col-sm-6 col-md-4 g-1">
16
-            <div class="card">
16
+            <div class="card h-100">
17 17
               <div class="card-body">
18 18
                 <div class="float-end ms-1"><span class="badge bg-info"><a target="_blank" class="link-light text-decoration-underline" href="{{entry.link}}">{{ entry.date }}</a></span></div>
19 19
                 {{ entry.description|safe }}
20 20
               </div>
21 21
               {% if entry.images %}
22
-                <ul class="list-group">
22
+                <ul class="list-group h-100">
23 23
                   {% for image in entry.images %}
24 24
                     <li class="list-group-item"><a target="_blank" href="{{image.url}}"><img class="w-100" src="{{image.url}}" alt="{{image.media_description}}" /></a></li>
25 25
                   {% endfor %}
26 26
                 </ul>
27 27
               {% endif %}
28 28
               {% if entry.videos %}
29
-                <ul class="list-group">
29
+                <ul class="list-group h-100">
30 30
                   {% for video in entry.videos %}
31 31
                     <li class="list-group-item"><video controls loop class="w-100" src="{{video.url}}" /></li>
32 32
                   {% endfor %}

Loading…
Cancel
Save