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!

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...