Getting Data In

How to increase the size of text input in a dashboard

sravankaripe
Communicator

I have a dashboard (Say /app/MyApp/MyDashboard) In this dashboard have a text input.
i want to increase the size of this text input.

How can i do this?
what all the files i need to update ?

0 Karma

WalshyB
SplunkTrust
SplunkTrust

Hey,

This can be done through css - within the /appserver/static directory of the app you want to store the css file in.
for example, if the dashboard is in the search app, then /etc/apps/search/appserver/static/example.css.
Within the dashboard xml

Then your css file will have the changes to the text input that you want.
For width changes-
#inputid {
width: 200px !important;
}

I encourage using inspect element and and selecting the text input and adding css you want to preview what the changes would look like and to finetune it to what you require. Hope this helps a little.

0 Karma
Get Updates on the Splunk Community!

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...

.conf24 | Registration Open!

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