Skip to content

Commit

Permalink
upd: prop styles
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Nov 11, 2023
1 parent 4385946 commit 81875b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/northstar/src/views/properties.r.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default view(_ => {
_.$ref(r);
_.fUnderlineTextInput(p.getVal(), false, "unset") && p.setVal(_.$ev);
} else if (p.type === "switch") {
_.$cls`ml-4`
_.fSwitch("", p.getVal()) && p.setVal(_.$ev);
} else if (p.type === "dropdown") {
_.$ref(r);
Expand All @@ -40,7 +41,7 @@ export default view(_ => {
_.$cls`justify-self-end`;
_.button(_ => _.fiSubtract20Filled(), value === p.min) && p.setVal(value - 1);

_.$cls`col-span-2 pl-2 justify-self-center`;
_.$cls`col-span-2 justify-self-center`;
_.span(value.toString());

btnStyle(_);
Expand Down

0 comments on commit 81875b4

Please sign in to comment.