管理Vr M2-26.0515/C2-26.0515

Next.jsのアップデートに伴いclass名にハッシュ部分を使ってる部分の変更

自動出力される部分を今まで使用してたのがあったので、今回のアップデートで変更されるので、ハッシュ部分を削除しました。

今後見かけたら、修正おねがいします。

変更前

//ヘッダー固定時のみ(ハンバーガーメニュー内をスクロール表示)
:is(.navi-001-01,.navi-002-01) {
  &:is(
    .one_row_sticky-navi__GU_fr,
    .two_row_sticky-navi__8HtZT
  ) {
    header#navigations {
      .inner {
        .main-menu {
          @include breakpoint-sp {
            max-height: calc(100vh - 51px);
            overflow-y: auto;
            /*----
            //スクロールバー非表示
            -ms-overflow-style: none; //Edge
            scrollbar-width: none; //Firefox
            &::-webkit-scrollbar {
              display: none;
            }
            ----*/
          }
        }
      }
    }
  }
}
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
// col空処理
@include theme-fo-base {
  .inner {
    .row {
      .col {
        &:empty {
          background: none;
          border: 0;
          @include breakpoint-sp {
            display: none !important;
          }
        }
        &.styles_col-shadow__imO2S {
          &:empty {
            box-shadow: none;
          }
        }
      }
    }
  }
}

変更前

//ヘッダー固定時のみ(ハンバーガーメニュー内をスクロール表示)
:is(.navi-001-01,.navi-002-01) {
  &:is(
    [class*="one_row_sticky-navi"],
    [class*="two_row_sticky-navi"]
  ) {
    header#navigations {
      .inner {
        .main-menu {
          @include breakpoint-sp {
            max-height: calc(100vh - 51px);
            overflow-y: auto;
            /*----
            //スクロールバー非表示
            -ms-overflow-style: none; //Edge
            scrollbar-width: none; //Firefox
            &::-webkit-scrollbar {
              display: none;
            }
            ----*/
          }
        }
      }
    }
  }
}
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
// col空処理
@include theme-fo-base {
  .inner {
    .row {
      .col {
        &:empty {
          background: none;
          border: 0;
          @include breakpoint-sp {
            display: none !important;
          }
        }
        &[class*="styles_col-shadow"] {
          &:empty {
            box-shadow: none;
          }
        }
      }
    }
  }
}
pagetop