Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 24b79e4

Browse files
committed
feat(client): add fit-font class
1 parent 0d866fe commit 24b79e4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/client/assets/style/customize.css

+4
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,7 @@
7373
display: flex;
7474
align-items: center;
7575
}
76+
77+
.fit-font {
78+
font-size: 25.5vw;
79+
}

packages/client/src/components/Assistant.js

+4
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ export const Assistant = () => (
122122
title: 'Table of Contents',
123123
content: <code>{`.toc`}</code>,
124124
},
125+
{
126+
title: 'Fitting to Fill Text',
127+
content: <code>{`.fit-font`}</code>,
128+
},
125129
]}
126130
/>
127131
</Item>

packages/playground/debug/style.css

-8
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,3 @@
2929
.inner {
3030
color: #3498db;
3131
}
32-
33-
.sns-box {
34-
margin: 16px 0;
35-
36-
& > :not(:first-child) {
37-
margin-left: 16px;
38-
}
39-
}

0 commit comments

Comments
 (0)