Skip to content

Commit

Permalink
feat(client): add fit-font class
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Mar 14, 2021
1 parent 0d866fe commit 24b79e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 4 additions & 0 deletions packages/client/assets/style/customize.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@
display: flex;
align-items: center;
}

.fit-font {
font-size: 25.5vw;
}
4 changes: 4 additions & 0 deletions packages/client/src/components/Assistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ export const Assistant = () => (
title: 'Table of Contents',
content: <code>{`.toc`}</code>,
},
{
title: 'Fitting to Fill Text',
content: <code>{`.fit-font`}</code>,
},
]}
/>
</Item>
Expand Down
8 changes: 0 additions & 8 deletions packages/playground/debug/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,3 @@
.inner {
color: #3498db;
}

.sns-box {
margin: 16px 0;

& > :not(:first-child) {
margin-left: 16px;
}
}

0 comments on commit 24b79e4

Please sign in to comment.