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 }}
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 }} -
  • 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 }} 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" }} -
    +
    {{ .Symbol }}
    {{ .Name }}
    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 }}