this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Time to remove this auto-shrink text effect in composer

It was fun…

+4 -4
+2 -2
src/components/compose.css
··· 56 56 57 57 @media (min-width: 40em) { 58 58 #compose-container textarea { 59 - font-size: 150%; 60 - font-size: calc(100% + 50% / var(--text-weight)); 59 + /* font-size: 150%; 60 + font-size: calc(100% + 50% / var(--text-weight)); */ 61 61 max-height: 65vh; 62 62 } 63 63 }
+2 -2
src/components/compose.jsx
··· 1210 1210 const [text, setText] = useState(ref.current?.value || ''); 1211 1211 const { maxCharacters, performSearch = () => {}, ...textareaProps } = props; 1212 1212 const snapStates = useSnapshot(states); 1213 - const charCount = snapStates.composerCharacterCount; 1213 + // const charCount = snapStates.composerCharacterCount; 1214 1214 1215 1215 const customEmojis = useRef(); 1216 1216 useEffect(() => { ··· 1442 1442 style={{ 1443 1443 width: '100%', 1444 1444 height: '4em', 1445 - '--text-weight': (1 + charCount / 140).toFixed(1) || 1, 1445 + // '--text-weight': (1 + charCount / 140).toFixed(1) || 1, 1446 1446 }} 1447 1447 /> 1448 1448 </text-expander>