CSS: Remove inline styling of the download widget (#4162)

This commit is contained in:
Samantaz Fox 2023-10-21 18:32:40 +02:00
commit 1a33012cad
No known key found for this signature in database
GPG key ID: F42821059186176E
2 changed files with 5 additions and 2 deletions

View file

@ -793,3 +793,7 @@ h1, h2, h3, h4, h5, p,
.channel-emoji {
margin: 0 2px;
}
#download_widget {
width: 100%;
}

View file

@ -42,8 +42,7 @@ module Invidious::Frontend::WatchPage
str << translate(locale, "Download as: ")
str << "</label>\n"
# TODO: remove inline style
str << "\t\t<select style=\"width:100%\" name='download_widget' id='download_widget'>\n"
str << "\t\t<select name='download_widget' id='download_widget'>\n"
# Non-DASH videos (audio+video)