Skip to content

Commit

Permalink
トグルボックス+ショートコード(新着記事一覧)で真下のコンテンツが横にずれる 不具合修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Feb 13, 2019
1 parent e845a8d commit 6cf6840
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion amp.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions css/admin.css
Expand Up @@ -986,7 +986,7 @@ body.wp-admin { color: #444; }
.admin-settings .demo .lb-green .label-box-content { border-color: #3eb370; }
.admin-settings .demo .toggle-wrap { margin: 1.2em 0; position: relative; }
.admin-settings .demo .toggle-wrap > p { margin: 0; }
.admin-settings .demo .toggle-wrap .toggle-content { display: block; visibility: hidden; opacity: 0; padding: 0 1em; height: 0; transition: all 0.5s ease; }
.admin-settings .demo .toggle-wrap .toggle-content { display: block; visibility: hidden; opacity: 0; padding: 0 1em; height: 0; transition: all 0.5s ease; overflow: hidden; }
.admin-settings .demo .toggle-button { display: block; cursor: pointer; padding: 3px 10px; background-color: #f3f4f5; border: 1px solid #ccc; text-align: center; border-radius: 4px; position: relative; margin: 0; }
.admin-settings .demo .toggle-button::before { content: '\f067'; font-family: FontAwesome; margin-right: 0.4em; font-size: 0.8em; color: #999; }
.admin-settings .demo .toggle-button:hover { opacity: 0.7; }
Expand Down Expand Up @@ -2148,7 +2148,7 @@ body.wp-admin { color: #444; }
.admin-settings .demo .lb-green .label-box-content { border-color: #3eb370; }
.admin-settings .demo .toggle-wrap { margin: 1.2em 0; position: relative; }
.admin-settings .demo .toggle-wrap > p { margin: 0; }
.admin-settings .demo .toggle-wrap .toggle-content { display: block; visibility: hidden; opacity: 0; padding: 0 1em; height: 0; transition: all 0.5s ease; }
.admin-settings .demo .toggle-wrap .toggle-content { display: block; visibility: hidden; opacity: 0; padding: 0 1em; height: 0; transition: all 0.5s ease; overflow: hidden; }
.admin-settings .demo .toggle-button { display: block; cursor: pointer; padding: 3px 10px; background-color: #f3f4f5; border: 1px solid #ccc; text-align: center; border-radius: 4px; position: relative; margin: 0; }
.admin-settings .demo .toggle-button::before { content: '\f067'; font-family: FontAwesome; margin-right: 0.4em; font-size: 0.8em; color: #999; }
.admin-settings .demo .toggle-button:hover { opacity: 0.7; }
Expand Down
1 change: 1 addition & 0 deletions scss/extension.scss
Expand Up @@ -1086,6 +1086,7 @@ $bb_green: #3eb370;
padding: 0 1em;
height: 0;
transition: $bgc_hover_anime;
overflow: hidden;
}
}

Expand Down
1 change: 1 addition & 0 deletions style.css
Expand Up @@ -3632,6 +3632,7 @@ label.screen-reader-text {
padding: 0 1em;
height: 0;
transition: all 0.5s ease;
overflow: hidden;
}

.toggle-button {
Expand Down

0 comments on commit 6cf6840

Please sign in to comment.