Skip to content

Commit

Permalink
CSS: Remove inline styling of the download widget (#4162)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamantazFox committed Oct 21, 2023
2 parents cf7c49d + d7ea560 commit 1a33012
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -793,3 +793,7 @@ h1, h2, h3, h4, h5, p,
.channel-emoji {
margin: 0 2px;
}

#download_widget {
width: 100%;
}
3 changes: 1 addition & 2 deletions src/invidious/frontend/watch_page.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1a33012

Please sign in to comment.