diff options
Diffstat (limited to 'youtube/templates/search.html')
-rw-r--r-- | youtube/templates/search.html | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/youtube/templates/search.html b/youtube/templates/search.html index 782a85e..63f930e 100644 --- a/youtube/templates/search.html +++ b/youtube/templates/search.html @@ -3,31 +3,19 @@ {% extends "base.html" %} {% import "common_elements.html" as common_elements %} {% block style %} - main{ - display:grid; - grid-template-columns: minmax(0px, 1fr) 800px minmax(0px,2fr); - max-width:100vw; - } - - + main > * { + max-width: 800px; + margin: auto; + } + #result-info{ + } #number-of-results{ font-weight:bold; } - #result-info{ - grid-row: 1; - grid-column:2; - align-self:center; - } - .page-button-row{ - grid-column: 2; - justify-self: center; - } - - - .item-list{ - grid-row: 2; - grid-column: 2; - } + .item-list{ + padding-left: 10px; + padding-right: 10px; + } .badge{ background-color:#cccccc; } @@ -45,7 +33,7 @@ </div> <div class="item-list"> {% for info in results %} - {{ common_elements.item(info) }} + {{ common_elements.item(info, description=true) }} {% endfor %} </div> <nav class="page-button-row"> |