mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
fix(tui): Add width=100% to tips text and remove container constraints
This commit is contained in:
@@ -40,7 +40,7 @@ export function Tips() {
|
||||
<text flexShrink={0} style={{ fg: theme.warning }}>
|
||||
● Tip{" "}
|
||||
</text>
|
||||
<text flexShrink={1} wrapMode="word">
|
||||
<text flexShrink={1} wrapMode="word" width="100%">
|
||||
<For each={parts}>
|
||||
{(part) => <span style={{ fg: part.highlight ? theme.text : theme.textMuted }}>{part.text}</span>}
|
||||
</For>
|
||||
|
||||
@@ -105,7 +105,7 @@ export function Home() {
|
||||
hint={Hint}
|
||||
/>
|
||||
</box>
|
||||
<box width="100%" maxWidth={75} alignItems="center" paddingTop={2}>
|
||||
<box width="100%" paddingTop={2}>
|
||||
<Show when={showTips()}>
|
||||
<Tips />
|
||||
</Show>
|
||||
|
||||
Reference in New Issue
Block a user