tangled
alpha
login
or
join now
minito.dev
/
SkeetLonger.app
1
fork
atom
A web app for writing and sharing 301+ character Bluesky posts.
1
fork
atom
overview
issues
pulls
pipelines
Remove unnecessary disable, and left align post text
Minito
4 months ago
0aca0aa8
9bfe915c
+2
-2
2 changed files
expand all
collapse all
unified
split
src
routes
index.tsx
post
$uri.tsx
-1
src/routes/index.tsx
···
172
172
<button
173
173
onClick={() => handleSubmit()}
174
174
type='submit'
175
175
-
disabled={charCount < 300}
176
175
style={{ padding: '0.625rem 1.5rem', borderRadius: '0.5rem', fontSize: '0.875rem', fontWeight: '600', border: 'none', cursor: charCount === 0 ? 'not-allowed' : 'pointer', transition: 'background-color 0.2s', backgroundColor: charCount === 0 ? '#6b7280' : '#2563eb', color: 'white' }}
177
176
onMouseEnter={(e) => { if (charCount !== 0) e.currentTarget.style.backgroundColor = '#1d4ed8'; }}
178
177
onMouseLeave={(e) => { if (charCount !== 0) e.currentTarget.style.backgroundColor = '#2563eb'; }}
+2
-1
src/routes/post/$uri.tsx
···
173
173
lineHeight: '1.5',
174
174
whiteSpace: 'pre-wrap',
175
175
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
176
176
-
marginBottom: '1rem'
176
176
+
marginBottom: '1rem',
177
177
+
textAlign: 'left'
177
178
}}>
178
179
{post.value.post}
179
180
</div>