mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
docs: update box-shadow
This commit is contained in:
parent
650f0e5473
commit
10f78a916a
@ -33,7 +33,7 @@ const useStyle = () => {
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
background: ${token.colorBgContainer};
|
background: ${token.colorBgContainer};
|
||||||
box-shadow: ${token.boxShadow};
|
box-shadow: ${token.boxShadowTertiary};
|
||||||
|
|
||||||
@media only screen and (max-width: ${token.mobileMaxWidth}px) {
|
@media only screen and (max-width: ${token.mobileMaxWidth}px) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -41,7 +41,7 @@ describe('site test', () => {
|
|||||||
const expectComponent = async (component) => {
|
const expectComponent = async (component) => {
|
||||||
const { status, $ } = await render(`/${component}/`);
|
const { status, $ } = await render(`/${component}/`);
|
||||||
expect(status).toBe(200);
|
expect(status).toBe(200);
|
||||||
expect($('h1').text().toLowerCase()).toMatch(handleComponentName(component));
|
expect($('main h1').text().toLowerCase()).toMatch(handleComponentName(component));
|
||||||
};
|
};
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user