Replace inline styling for download widget with css file

This commit is contained in:
jt404
2023-10-12 03:21:34 +02:00
parent 069e91d2a6
commit 8125ddca06
3 changed files with 5 additions and 2 deletions

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)