Reverted fix for borders on iframes

This commit is contained in:
squidfunk 2024-03-23 08:33:56 +08:00
parent 1b2d48455d
commit 92b3e1bbcd
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
6 changed files with 3 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -44,7 +44,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% 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 %} {% if config.theme.palette %}
{% set palette = config.theme.palette %} {% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">

View File

@ -422,11 +422,6 @@ kbd {
// Limit width to container // Limit width to container
iframe { iframe {
max-width: 100%; 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 // Data table