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
     <title>{{title|safe}}</title>
5
     <title>{{title|safe}}</title>
6
     <meta name="viewport" content="width=device-width, initial-scale=1">
6
     <meta name="viewport" content="width=device-width, initial-scale=1">
7
     <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
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
     <meta property="og:image" content="{{ url_for('static', filename='hashtag.png', _external=True) }}">
9
     <meta property="og:image" content="{{ url_for('static', filename='hashtag.png', _external=True) }}">
10
   </head>
10
   </head>
11
   <body>
11
   <body>
13
       <div class="row" id="entries">
13
       <div class="row" id="entries">
14
         {% for entry in feed.entries %}
14
         {% for entry in feed.entries %}
15
           <div class="col-12 col-sm-6 col-md-4 g-1">
15
           <div class="col-12 col-sm-6 col-md-4 g-1">
16
-            <div class="card">
16
+            <div class="card h-100">
17
               <div class="card-body">
17
               <div class="card-body">
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>
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
                 {{ entry.description|safe }}
19
                 {{ entry.description|safe }}
20
               </div>
20
               </div>
21
               {% if entry.images %}
21
               {% if entry.images %}
22
-                <ul class="list-group">
22
+                <ul class="list-group h-100">
23
                   {% for image in entry.images %}
23
                   {% for image in entry.images %}
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>
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
                   {% endfor %}
25
                   {% endfor %}
26
                 </ul>
26
                 </ul>
27
               {% endif %}
27
               {% endif %}
28
               {% if entry.videos %}
28
               {% if entry.videos %}
29
-                <ul class="list-group">
29
+                <ul class="list-group h-100">
30
                   {% for video in entry.videos %}
30
                   {% for video in entry.videos %}
31
                     <li class="list-group-item"><video controls loop class="w-100" src="{{video.url}}" /></li>
31
                     <li class="list-group-item"><video controls loop class="w-100" src="{{video.url}}" /></li>
32
                   {% endfor %}
32
                   {% endfor %}

Loading…
Cancel
Save