mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
docs: update box-shadow
This commit is contained in:
parent
650f0e5473
commit
10f78a916a
@ -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;
|
||||
|
@ -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…
Reference in New Issue
Block a user