mirror of https://github.com/iv-org/invidious.git
CSS: Remove inline styling of the download widget (#4162)
This commit is contained in:
commit
1a33012cad
|
@ -793,3 +793,7 @@ h1, h2, h3, h4, h5, p,
|
||||||
.channel-emoji {
|
.channel-emoji {
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#download_widget {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
|
@ -42,8 +42,7 @@ module Invidious::Frontend::WatchPage
|
||||||
str << translate(locale, "Download as: ")
|
str << translate(locale, "Download as: ")
|
||||||
str << "</label>\n"
|
str << "</label>\n"
|
||||||
|
|
||||||
# TODO: remove inline style
|
str << "\t\t<select name='download_widget' id='download_widget'>\n"
|
||||||
str << "\t\t<select style=\"width:100%\" name='download_widget' id='download_widget'>\n"
|
|
||||||
|
|
||||||
# Non-DASH videos (audio+video)
|
# Non-DASH videos (audio+video)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue