mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
fix(tui): Change flexDirection to column for tips layout
This commit is contained in:
@@ -36,7 +36,7 @@ export function Tips() {
|
||||
const parts = parse(TIPS[Math.floor(Math.random() * TIPS.length)])
|
||||
|
||||
return (
|
||||
<box flexDirection="row" maxWidth="100%">
|
||||
<box flexDirection="column" maxWidth="100%">
|
||||
<text flexShrink={0} style={{ fg: theme.warning }}>
|
||||
● Tip{" "}
|
||||
</text>
|
||||
|
||||
@@ -105,7 +105,7 @@ export function Home() {
|
||||
hint={Hint}
|
||||
/>
|
||||
</box>
|
||||
<box width="100%" paddingTop={2}>
|
||||
<box width="100%" paddingTop={2} flexDirection="column">
|
||||
<Show when={showTips()}>
|
||||
<Tips />
|
||||
</Show>
|
||||
|
||||
Reference in New Issue
Block a user