# Spinner input field width

**URL:** <https://discourse.nodered.org/t/spinner-input-field-width/51533>\
**Category:** Developing Nodes\
**Created:** [26 September 2021 12:16 UTC](https://discourse.nodered.org/t/spinner-input-field-width/51533 "2021-09-26T12:16:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jens\_rossbach](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jens_rossbach/32/98717_2.png) [@jens\_rossbach](https://discourse.nodered.org/u/jens_rossbach)\
**Post date:** [26 September 2021 12:16 UTC](https://discourse.nodered.org/t/spinner-input-field-width/51533/1 "2021-09-26T12:16:24Z")

</div>

Hello,

in the current version of Node-RED with default theme, the width of a spinner input field on node's configuration pages cannot be set anymore via CSS properties. This worked in the past (I don't know with which exact version of Node-RED this changed), now all spinner input fields always have the same (large) width, which makes it problematic for some layouts (especially when the spinners are part of an editable list item).

**Additional Info:** It looks that there is a style specification for spinner input fields which sets the width to 95% with _!important_ declaration. This seems not to be present for e.g. the night-owl dark theme. I can overrule this of course by using also an _!important_ declaration for my spinner element, but should this be the way to go? Any idea why this changed?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 November 2021 12:16 UTC](https://discourse.nodered.org/t/spinner-input-field-width/51533/2 "2021-11-25T12:16:55Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
