Browse Source

docs: update box-shadow

pull/40674/head
MadCcc 2 years ago
parent
commit
10f78a916a
  1. 2
      .dumi/theme/slots/Header/index.tsx
  2. 2
      scripts/check-site.js

2
.dumi/theme/slots/Header/index.tsx

@ -33,7 +33,7 @@ const useStyle = () => {
z-index: 10;
max-width: 100%;
background: ${token.colorBgContainer};
box-shadow: ${token.boxShadow};
box-shadow: ${token.boxShadowTertiary};
@media only screen and (max-width: ${token.mobileMaxWidth}px) {
text-align: center;

2
scripts/check-site.js

@ -41,7 +41,7 @@ describe('site test', () => {
const expectComponent = async (component) => {
const { status, $ } = await render(`/${component}/`);
expect(status).toBe(200);
expect($('h1').text().toLowerCase()).toMatch(handleComponentName(component));
expect($('main h1').text().toLowerCase()).toMatch(handleComponentName(component));
};
beforeAll(() => {

Loading…
Cancel
Save