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!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...