mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed white background on Twitter embeds
This commit is contained in:
parent
c8a2142263
commit
1d6dd990b4
1
material/templates/assets/stylesheets/main.609c4d16.min.css
vendored
Normal file
1
material/templates/assets/stylesheets/main.609c4d16.min.css
vendored
Normal file
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
@ -44,7 +44,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7e359304.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.609c4d16.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
|
||||
|
@ -422,6 +422,11 @@ 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: initial;
|
||||
}
|
||||
|
||||
// Data table
|
||||
|
Loading…
Reference in New Issue
Block a user