Skip to content

Commit 555c697

Browse files
committed
[ G3 ][ 不具合修正 ] ブロックテンプレートパーツとモバイル固定ナビ利用時にフッターがモバイル固定ナビに埋まってしまう不具合修正
1 parent 1d839e8 commit 555c697

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

_g3/assets/_scss/project/_site-footer.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
font-size:var(--vk-size-text-sm);
55
content-visibility:auto;
66
contain-intrinsic-size: 370px; // 仮の高さ370pxでレイアウトを確保
7-
.mobile-fix-nav_enable & {
7+
.mobile-fix-nav_enable :is(&,block-site-footer) {
88
@media ( max-width: $md-max ) {
9-
padding-bottom:70px;
9+
padding-bottom:var(--vk-mobile-fix-nav-height,70px);
1010
}
1111
}
1212
&-content {
@@ -32,4 +32,13 @@
3232
font-size:var(--vk-size-text-xs);
3333
}
3434
}
35+
}
36+
// モバイル固定ナビ有効時に
37+
@media ( max-width: $md-max ) {
38+
.mobile-fix-nav_enable :is(
39+
.site-footer,
40+
.block-site-footer
41+
) {
42+
padding-bottom:var(--vk-mobile-fix-nav-height,70px);
43+
}
3544
}

_g3/assets/css/style-theme-json.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.

_g3/assets/css/style.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.

_g3/assets/css/style_layout-active.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.

0 commit comments

Comments
 (0)