From 9762c214c6ce4c5cfe71980ba1b4855e799dd3d3 Mon Sep 17 00:00:00 2001 From: pluja Date: Wed, 26 Aug 2020 18:52:20 +0200 Subject: [PATCH] Remove tweet feed overflow --- app/static/styles.css | 4 +++ app/templates/_post.html | 59 +++++++++++++++-------------------- app/templates/_post_nort.html | 59 +++++++++++++++-------------------- app/templates/base.html | 12 +++---- app/templates/twitter.html | 8 ++--- 5 files changed, 66 insertions(+), 76 deletions(-) diff --git a/app/static/styles.css b/app/static/styles.css index 0816937..c5010ec 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -17,4 +17,8 @@ .video-title{ font-weight: bold; font-size: 1.15em; +} + +.break-word{ + word-break: break-word; } \ No newline at end of file diff --git a/app/templates/_post.html b/app/templates/_post.html index 7ca8cd2..2615683 100644 --- a/app/templates/_post.html +++ b/app/templates/_post.html @@ -1,37 +1,30 @@ -
-
-
-
-
- -
- - - - -
- -
- {{post.date}} - {{post.username}} retwitted -
-
-

{{post.content}}

-
-
-

-

- -
-

+
+
+
+
+
+ + + + +
+ +
+ {{post.date}} + {{post.username}} retwitted +
+
+

{{post.content}}

+
+
+

+

+ +
+

-
\ No newline at end of file diff --git a/app/templates/_post_nort.html b/app/templates/_post_nort.html index 20134ac..46a3483 100644 --- a/app/templates/_post_nort.html +++ b/app/templates/_post_nort.html @@ -1,37 +1,30 @@ -
-
-
-
-
- -
- - - - -
- -
- {{post.date}} - {% if post.isPinned %} - Pinned - {%endif%} -
-
-

{{post.content}}

-
-
-
- -
+
+
+
+
+
+ + + + +
+ +
+ {{post.date}} + {% if post.isPinned %} + Pinned + {%endif%} +
+
+

{{post.content}}

+
+
+
+ +
-
\ No newline at end of file diff --git a/app/templates/base.html b/app/templates/base.html index 3ade65c..8ab3a56 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -12,18 +12,18 @@ -