mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 10:52:41 +03:00
fixes
This commit is contained in:
parent
94e9d6a3b8
commit
19bc24db93
@ -33,7 +33,7 @@ const initialState = {
|
|||||||
valign: "center",
|
valign: "center",
|
||||||
textAlign: "left",
|
textAlign: "left",
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
column: 1,
|
column: 2,
|
||||||
lineHeight: 100,
|
lineHeight: 100,
|
||||||
tracking: 0,
|
tracking: 0,
|
||||||
},
|
},
|
||||||
|
@ -189,11 +189,11 @@ const STYLES_GLYPHS_GRID = css`
|
|||||||
grid-template-rows: repeat(12, 1fr);
|
grid-template-rows: repeat(12, 1fr);
|
||||||
grid-column-gap: 28px;
|
grid-column-gap: 28px;
|
||||||
grid-auto-rows: 0px;
|
grid-auto-rows: 0px;
|
||||||
overflow-y: hidden;
|
overflow: hidden;
|
||||||
`;
|
`;
|
||||||
const Glyphs = ({}) => {
|
const Glyphs = ({}) => {
|
||||||
const content = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!?()@$#%*[]{}\:;_""-`;
|
const content = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!?()@$#%*[]{}\:;_""-`;
|
||||||
const glyphs = React.useMemo(() => new Array(5).fill(content).join("").split(""), []);
|
const glyphs = React.useMemo(() => new Array(6).fill(content).join("").split(""), []);
|
||||||
return (
|
return (
|
||||||
<div css={STYLES_GLYPHS_WRAPPER}>
|
<div css={STYLES_GLYPHS_WRAPPER}>
|
||||||
<div css={STYLES_GLYPHS_LETTER}>Aa</div>
|
<div css={STYLES_GLYPHS_LETTER}>Aa</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user