Dashboards & Visualizations

Link Switcher Width

mwdbhyat
Builder

Hi there,

How does one change the width of an input on a form? I want to edit the default size to display my text labels for the link switcher tabs correctly.

Thanks

1 Solution

mwdbhyat
Builder

Sure did.. I edited the xml to look like this:

Security Continuous Monitoring - High Level Metrics

<input type="link" token="unused" id="resized_input" searchWhenChanged="true">

"form stylesheet" references the application.css which has this at the bottom of it:

#resized_input {
 width: 250px;
}

That should do the trick..

View solution in original post

mwdbhyat
Builder

Sure did.. I edited the xml to look like this:

Security Continuous Monitoring - High Level Metrics

<input type="link" token="unused" id="resized_input" searchWhenChanged="true">

"form stylesheet" references the application.css which has this at the bottom of it:

#resized_input {
 width: 250px;
}

That should do the trick..

pradeepkumarg
Influencer

Thank you..

0 Karma

pradeepkumarg
Influencer

Did you get a solution for this?

0 Karma

Raghav2384
Motivator

Hey @mwdbhyat,

Can you post the xml? have you tried to edit the padding?

.btn-pill { padding: 0 45px;} ? From what i can tell, they auto adjust.

Hope this helps!

Thanks,
Raghav

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...