Remove additional donation link in feeds menu

This commit is contained in:
Sommerwiesel
2025-06-18 16:42:16 +02:00
parent 62a12fe924
commit 025e261d32
2 changed files with 37 additions and 6 deletions
+25 -6
View File
@@ -117,6 +117,24 @@ body a.channel-owner {
color: rgb(255, 0, 0);
}
#backend-selector {
margin-bottom: 10px;
font-size:0.85em;
text-align: center;
}
#backend-info {
margin-bottom: 10px;
font-size:0.85em;
text-align: center;
}
#watch-info {
text-align: center;
margin: 10px 0 15px 0;
font-size: 0.9em;
font-weight: bold;
}
.feed-menu {
display: flex;
justify-content: center;
@@ -1867,9 +1885,15 @@ i.icon.ion-md-jet:hover {
}
/* Theater mode */
#player-container {
margin-bottom: 2%;
margin-left: 0;
margin-right: 0;
}
@media screen and (max-width: 170em) {
#player-container {
margin-bottom: 6%;
margin-bottom: 3%;
margin-left: 0;
margin-right: 0;
}
@@ -2035,8 +2059,3 @@ hr {
.pure-u-md-20-24 > .h-box > img {
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}
/* Temporarly hide the donation link */
a.pure-menu-heading.feed-menu-item:nth-of-type(1) {
display:none;
}
+12
View File
@@ -86,3 +86,15 @@ index 00000000..0c7deecc
\ No newline at end of file
--
2.26.1
diff --git a/src/invidious/views/components/feed_menu.ecr b/src/invidious/views/components/feed_menu.ecr
index 96130650..3dbeaf37 100644
--- a/src/invidious/views/components/feed_menu.ecr
+++ b/src/invidious/views/components/feed_menu.ecr
@@ -1,7 +1,4 @@
<div class="feed-menu">
- <a href="/donate" class="feed-menu-item pure-menu-heading">
- <%= translate(locale, "footer_donate_page") %>
- </a>
<% feed_menu = env.get("preferences").as(Preferences).feed_menu.dup %>
<% if !env.get?("user") %>
<% feed_menu.reject! {|item| {"Subscriptions", "Playlists"}.includes? item} %>