Skip to content

Commit 195fcbf

Browse files
author
Teemu Suoranta
committed
add: front-end class to body and limit iframe base style to front-end (fixes #60)
1 parent a86caf5 commit 195fcbf

File tree

9 files changed

+11
-9
lines changed

9 files changed

+11
-9
lines changed

assets/last-edited.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"js": 1642581027321,
3-
"css": 1645622015270,
3+
"css": 1645623378325,
44
"svg": 1642580280961
55
}

assets/styles/base/_media.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@
2929
----------------------------------------------- */
3030

3131
iframe {
32-
max-width: 100%;
32+
.front-end & {
33+
max-width: 100%;
34+
}
3335
}

dist/styles/editor-classic.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles/editor-classic.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles/editor-gutenberg.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles/editor-gutenberg.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/styles/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<?php wp_head(); ?>
1717
</head>
1818

19-
<body <?php body_class(); ?> itemscope itemtype="https://schema.org/WebPage">
19+
<body <?php body_class('front-end'); ?> itemscope itemtype="https://schema.org/WebPage">
2020

2121
<?php do_action('theme_before_page'); ?>
2222

0 commit comments

Comments
 (0)