diff --git a/youtube/static/shared.css b/youtube/static/shared.css index 382f86c..611cdb7 100644 --- a/youtube/static/shared.css +++ b/youtube/static/shared.css @@ -267,7 +267,10 @@ body{ .page-button-row{ + margin-top: 10px; + margin-bottom: 10px; justify-self:center; + justify-content: center; display: grid; grid-auto-columns: 40px; grid-auto-flow: column; diff --git a/youtube/templates/comments_page.html b/youtube/templates/comments_page.html index 68c8537..047404a 100644 --- a/youtube/templates/comments_page.html +++ b/youtube/templates/comments_page.html @@ -3,63 +3,46 @@ {% import "comments.html" as comments %} {% block style %} - main{ - display:grid; - grid-template-columns: 3fr 2fr; + .comments-area{ + margin: auto; + width:640px; } - #left{ - background-color:#bcbcbc; - - display: grid; - grid-column: 1; - grid-row: 1; - grid-template-columns: 1fr 640px; - grid-template-rows: 0fr 0fr 0fr; - } - .comments-area{ - grid-column:2; - } - .comment{ - width:640px; - } {% endblock style %} {% block main %} -
Comments page {{ comments_info['page_number'] }}
- Sorted by {{ comments_info['sort_text'] }} -Comments page {{ comments_info['page_number'] }}
+ Sorted by {{ comments_info['sort_text'] }} +{{ playlist_name }}
-{{ title }}
- {{ author }} -{{ title }}
+ {{ author }} +