From 859a6d2f277ac896cd545191df9e8081f116a606 Mon Sep 17 00:00:00 2001
From: hex-developer <77530549+hex-developer@users.noreply.github.com>
Date: Sun, 19 May 2024 15:52:13 +0000
Subject: [PATCH 1/5] Fix column overflow
---
internal/assets/static/main.css | 3 ++-
internal/assets/templates/forum-posts.html | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/internal/assets/static/main.css b/internal/assets/static/main.css
index 1e64def..1df960e 100644
--- a/internal/assets/static/main.css
+++ b/internal/assets/static/main.css
@@ -1166,6 +1166,7 @@ body {
.shrink { flex-shrink: 1; }
.shrink-0 { flex-shrink: 0; }
.min-width-0 { min-width: 0; }
+.max-width-100 { max-width: 100%; }
.block { display: block; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
@@ -1200,4 +1201,4 @@ body {
.margin-bottom-7 { margin-bottom: 0.7rem; }
.margin-bottom-10 { margin-bottom: 1rem; }
.margin-bottom-15 { margin-bottom: 1.5rem; }
-.margin-bottom-auto { margin-bottom: auto; }
+.margin-bottom-auto { margin-bottom: auto; }
\ No newline at end of file
diff --git a/internal/assets/templates/forum-posts.html b/internal/assets/templates/forum-posts.html
index 32f7076..5efec4d 100644
--- a/internal/assets/templates/forum-posts.html
+++ b/internal/assets/templates/forum-posts.html
@@ -18,7 +18,7 @@
{{ end }}
{{ end }}
-
+
{{ .Title }}
- {{ $post.TimePosted | relativeTime }}
From 9060887694ba24e4facb77fc8ad74d2b6ddf26fb Mon Sep 17 00:00:00 2001
From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com>
Date: Sun, 19 May 2024 17:51:40 +0100
Subject: [PATCH 2/5] Remove unnecessary shrink
---
internal/assets/templates/forum-posts.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/assets/templates/forum-posts.html b/internal/assets/templates/forum-posts.html
index d8d995a..882c4e3 100644
--- a/internal/assets/templates/forum-posts.html
+++ b/internal/assets/templates/forum-posts.html
@@ -26,7 +26,7 @@
- {{ .Score | formatNumber }} points
- {{ .CommentCount | formatNumber }} comments
{{ if .HasTargetUrl }}
- - {{ .TargetUrlDomain }}
+ - {{ .TargetUrlDomain }}
{{ end }}
From 9e9f001fdf5f3d05b46c6d7852ed32cc6576fb6b Mon Sep 17 00:00:00 2001
From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com>
Date: Sun, 19 May 2024 17:51:59 +0100
Subject: [PATCH 3/5] Add newline at end of file
---
internal/assets/static/main.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/assets/static/main.css b/internal/assets/static/main.css
index c59ce9e..3c98ba3 100644
--- a/internal/assets/static/main.css
+++ b/internal/assets/static/main.css
@@ -1245,4 +1245,4 @@ body {
.margin-bottom-7 { margin-bottom: 0.7rem; }
.margin-bottom-10 { margin-bottom: 1rem; }
.margin-bottom-15 { margin-bottom: 1.5rem; }
-.margin-bottom-auto { margin-bottom: auto; }
\ No newline at end of file
+.margin-bottom-auto { margin-bottom: auto; }
From c941c78ebf69cc39a69b6c3744a88c5e28bed83c Mon Sep 17 00:00:00 2001
From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com>
Date: Sun, 19 May 2024 17:52:17 +0100
Subject: [PATCH 4/5] Truncate RSS channel name
---
internal/assets/templates/rss-list.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/internal/assets/templates/rss-list.html b/internal/assets/templates/rss-list.html
index 78f1828..8116232 100644
--- a/internal/assets/templates/rss-list.html
+++ b/internal/assets/templates/rss-list.html
@@ -5,11 +5,11 @@
{{ range .Items }}
{{ .Title }}
-
+
- {{ if gt (len $.FeedRequests) 1 }}
- - {{ .ChannelName }}
- {{ end }}
+ -
+ {{ .ChannelName }}
+
{{ end }}
From a44056dc436067b255784b6c66ca41585d95f40e Mon Sep 17 00:00:00 2001
From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com>
Date: Sun, 19 May 2024 18:00:08 +0100
Subject: [PATCH 5/5] Remove other unnecessary shrinks
---
internal/assets/templates/rss-horizontal-cards-2.html | 2 +-
internal/assets/templates/rss-horizontal-cards.html | 2 +-
internal/assets/templates/stocks.html | 2 +-
internal/assets/templates/twitch-channels.html | 2 +-
internal/assets/templates/twitch-games-list.html | 4 ++--
internal/assets/templates/video-card-contents.html | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/internal/assets/templates/rss-horizontal-cards-2.html b/internal/assets/templates/rss-horizontal-cards-2.html
index 2ae75fa..287774b 100644
--- a/internal/assets/templates/rss-horizontal-cards-2.html
+++ b/internal/assets/templates/rss-horizontal-cards-2.html
@@ -18,7 +18,7 @@
{{ .Title }}
- - {{ .ChannelName }}
+ - {{ .ChannelName }}
diff --git a/internal/assets/templates/rss-horizontal-cards.html b/internal/assets/templates/rss-horizontal-cards.html
index 0c82d60..aefdd8d 100644
--- a/internal/assets/templates/rss-horizontal-cards.html
+++ b/internal/assets/templates/rss-horizontal-cards.html
@@ -18,7 +18,7 @@
{{ .Title }}
- - {{ .ChannelName }}
+ - {{ .ChannelName }}
diff --git a/internal/assets/templates/stocks.html b/internal/assets/templates/stocks.html
index 24c67a0..eb348c0 100644
--- a/internal/assets/templates/stocks.html
+++ b/internal/assets/templates/stocks.html
@@ -21,7 +21,7 @@
{{ end }}
{{ define "stock" }}
-
+
diff --git a/internal/assets/templates/twitch-channels.html b/internal/assets/templates/twitch-channels.html
index 6782381..c0ec165 100644
--- a/internal/assets/templates/twitch-channels.html
+++ b/internal/assets/templates/twitch-channels.html
@@ -14,7 +14,7 @@
{{ end }}
-
+
{{ .Name }}
{{ if .Exists }}
{{ if .IsLive }}
diff --git a/internal/assets/templates/twitch-games-list.html b/internal/assets/templates/twitch-games-list.html
index f766885..36c457b 100644
--- a/internal/assets/templates/twitch-games-list.html
+++ b/internal/assets/templates/twitch-games-list.html
@@ -6,7 +6,7 @@

-
+
{{ .Name }}
- {{ .ViewersCount | formatViewerCount }} viewers
@@ -19,7 +19,7 @@
{{ if eq $i 0 }}
- {{ $tag.Name }}
{{ else }}
- - {{ $tag.Name }}
+ - {{ $tag.Name }}
{{ end }}
{{ end }}
diff --git a/internal/assets/templates/video-card-contents.html b/internal/assets/templates/video-card-contents.html
index 098e9f9..375fd08 100644
--- a/internal/assets/templates/video-card-contents.html
+++ b/internal/assets/templates/video-card-contents.html
@@ -4,7 +4,7 @@
{{ .Title }}