docs: update box-shadow

This commit is contained in:
MadCcc 2023-02-08 21:51:06 +08:00
parent 650f0e5473
commit 10f78a916a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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(() => {