进行了一些小修复
This commit is contained in:
@@ -504,8 +504,7 @@ body {
|
|||||||
img,
|
img,
|
||||||
picture,
|
picture,
|
||||||
video,
|
video,
|
||||||
canvas,
|
canvas {
|
||||||
svg {
|
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -34,8 +34,7 @@ body {
|
|||||||
img,
|
img,
|
||||||
picture,
|
picture,
|
||||||
video,
|
video,
|
||||||
canvas,
|
canvas {
|
||||||
svg {
|
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ const headerRender = read('inc/helpers/header/aksrt-header-render.php')
|
|||||||
const headerUserbox = read('inc/helpers/aksrt-header-userbox.php')
|
const headerUserbox = read('inc/helpers/aksrt-header-userbox.php')
|
||||||
const headerSearch = read('inc/helpers/header/aksrt-header-menu-search.php')
|
const headerSearch = read('inc/helpers/header/aksrt-header-menu-search.php')
|
||||||
const headerCss = read('assets/css/frontend/header-userbox.css')
|
const headerCss = read('assets/css/frontend/header-userbox.css')
|
||||||
|
const coreResetCss = read('assets/css/core/reset.css')
|
||||||
const vipCardRenderer = read('src/Content/VipServiceModal.php')
|
const vipCardRenderer = read('src/Content/VipServiceModal.php')
|
||||||
const vipModalCss = read('assets/css/frontend/vip-modal.css')
|
const vipModalCss = read('assets/css/frontend/vip-modal.css')
|
||||||
const payVipJs = read('assets/js/pay-vip.js')
|
const payVipJs = read('assets/js/pay-vip.js')
|
||||||
@@ -297,6 +298,8 @@ test('mobile search stays inside the scroll-hiding top header', () => {
|
|||||||
assert.match(headerMobile, /aksrt_nav_mobile_content\(\$ctx\)/)
|
assert.match(headerMobile, /aksrt_nav_mobile_content\(\$ctx\)/)
|
||||||
assert.doesNotMatch(headerRender, /'fixed'\s*=>/)
|
assert.doesNotMatch(headerRender, /'fixed'\s*=>/)
|
||||||
assert.doesNotMatch(legacyMainCss, /\.mobile-navbar \.navbar-(?:header|brand)/)
|
assert.doesNotMatch(legacyMainCss, /\.mobile-navbar \.navbar-(?:header|brand)/)
|
||||||
|
assert.doesNotMatch(coreResetCss, /img,\s*picture,\s*video,\s*canvas,\s*svg\s*\{/)
|
||||||
|
assert.match(legacyMainCss, /svg\s*\{[^}]*width:\s*1em;[^}]*height:\s*1em;/s)
|
||||||
|
|
||||||
const topHeaderSearch = headerRender.indexOf('aksrt_navbar_header($ctx);')
|
const topHeaderSearch = headerRender.indexOf('aksrt_navbar_header($ctx);')
|
||||||
const topHeaderClose = headerRender.indexOf("echo '</div></div></nav></header>';")
|
const topHeaderClose = headerRender.indexOf("echo '</div></div></nav></header>';")
|
||||||
|
|||||||
Reference in New Issue
Block a user