mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 00:38:46 +00:00
Prevent newlines in dialog buttons
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user