Skip to content

Commit

Permalink
Reverted fix for borders on iframes
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Mar 23, 2024
1 parent 1b2d484 commit 92b3e1b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.10ba22f1.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7e359304.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
Expand Down
5 changes: 0 additions & 5 deletions src/templates/assets/stylesheets/main/_typeset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,6 @@ kbd {
// Limit width to container
iframe {
max-width: 100%;
// Hack: we're currently not sure whether this is a bug in Twitter's CSS,
// or everything is working as intended, but if we don't reset the color
// scheme, Twitter's embedded tweets will have white background at the
// borders, which looks odd - see https://t.ly/N8P-Z
color-scheme: light;
}

// Data table
Expand Down

0 comments on commit 92b3e1b

Please sign in to comment.