- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

verbal_666
Builder
05-19-2020
12:51 AM
Taking a cue from this thread,
https://answers.splunk.com/answering/823859/view.html
The code
<html>
<style>
.input-dropdown {
min-width: XXXpx !important;
width: XXXpx !important;
max-width: XXXpx !important;
}
.splunk-dropdown .select2-container {
min-width: XXXpx !important;
width: XXXpx !important;
max-width: XXXpx !important;
}
</style>
</html>
Works fine.
But, now, how to take a single dropdown input, not all? Example a dropdown with id="single_dropdown"?
<input type="dropdown" token="token_to_catch" id="single_dropdown">
I'd like to ask if and how it was possible to resize a single input object from the dashboard xml.
Thanks.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

vnravikumar
Champion
05-19-2020
01:01 AM
Hi
Try with id in CSS
<style>
#single_dropdown .input-dropdown {
}
#single_dropdown .splunk-dropdown .select2-container {
}
</style>
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

vnravikumar
Champion
05-19-2020
01:01 AM
Hi
Try with id in CSS
<style>
#single_dropdown .input-dropdown {
}
#single_dropdown .splunk-dropdown .select2-container {
}
</style>
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

verbal_666
Builder
05-19-2020
01:23 AM
GREAT!!!
Perfectly working.
Many many thanks.
