Splunk Dev

Web Framework set textinput size/width?

unclethan
Path Finder

I have a web framework page with a textinput inside a dashboard-cell, and was wondering how to set the size of the textinput?

<div class="dashboard-cell" style="width: 500px;">
{% textinput id="search_box" value="$search_args$"|token_safe default="" style="width: 500px;" %}
</div>

Setting the width does not seem to work.

Thank.

Tags (4)
0 Karma

akazarov
Path Finder

Add something like

input[type="text"] { min-width: 70px; max-width:130px;}

to your application.css.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...