Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions app/assets/stylesheets/misc.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ details.recent_activity[open] summary h2:before {
content: "▼ ";
font-size: 0.7em;
}

details.recent_activity summary h2:before {
content: "► ";
font-size: 0.7em;
Expand All @@ -61,3 +62,17 @@ details.recent_activity summary h2:before {
span.reaction_age {
font-size: small;
}

img[src*="apple-podcast.png"],
img[src*="spotify.png"],
img[src*="podbean-app.png"],
img[src*="AmazonMusic.png"],
img[src*="iHeartRadio.png"],
img[src*="Podchaser.png"],
img[src*="PlayerFM.png"],
img[src*="YouTube_play_button"] {
max-width: 100px;
width: auto;
height: auto;
margin: 0;
}
2 changes: 1 addition & 1 deletion app/views/feeds/read.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% safe_tags = %w(h1 h2 h3 h4 h5 h6 img video audio source type figure figcaption a p span div pre code hr mark section main em i strong b blockquote cite del ul ol li table thead tbody tr th td br sup sub abbr)
safe_attr = %w(href src srcset sizes alt title id width border object-fit aspect-ratio start controls autoplay muted loop playsinline dir)
safe_attr = %w(href src srcset alt title id width border object-fit aspect-ratio start controls autoplay muted loop playsinline dir)
no_style_or_scripts = Loofah::Scrubber.new do |node|
if node.name == "style" or node.name == "script"
node.remove
Expand Down
Loading