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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...