Prevent newlines in dialog buttons

This commit is contained in:
Misode
2025-05-17 23:39:34 +02:00
parent a5a8c0f261
commit 511311572d
2 changed files with 10 additions and 9 deletions

View File

@@ -205,7 +205,7 @@ interface ButtonProps {
function Button({ label, width }: ButtonProps) {
// TODO: add tooltip
return <div class="dialog-button" style={`width: ${px(width)}; height: ${px(20)};`}>
<TextComponent component={label} />
<TextComponent component={label} oneline />
</div>
}