www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit 1b89cbe241b7ee354103ce708c902a1058fd576f
parent 15c37c0426ace0c753c7e94453c17ba4ab4a816a
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Fri, 11 Oct 2024 17:40:54 -0700

Give buttons the big class if they're not images

Diffstat:
Mfiles/lib/ui.js | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/files/lib/ui.js b/files/lib/ui.js @@ -33,7 +33,11 @@ export function button(name, memo, icon, options) { let button = input(name, memo, options) let attrs if (icon == null) { - attrs = { type: "button", value: name } + attrs = { + type: "button", + value: name, + class: "big" + } } else { attrs = { alt: name,