<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dropdown width change not working properly in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585824#M48016</link>
    <description>&lt;P&gt;Two things: you could try adding max-width: as well as width, and also the changes don't show up in edit mode, you have to save the changes&lt;/P&gt;</description>
    <pubDate>Sat, 19 Feb 2022 20:48:41 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-02-19T20:48:41Z</dc:date>
    <item>
      <title>Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585793#M48012</link>
      <description>&lt;P&gt;Hi, Splunkers，&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I used the following code to change my dropdown input width,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;       .input-dropdown {
          min-width: 120px !important;
          width: 120px !important;
          max-width: 120px !important;
        }
        .splunk-dropdown .select2-container {
          min-width: 120px !important;
          width: 120px !important;
          max-width: 120px !important;
        }&lt;/PRE&gt;&lt;P&gt;when I changed width, the width of the dropdown area decreased,&amp;nbsp; but the dropdown field width not change, which caused the dropdown overlapped with the next dropdown.&lt;/P&gt;&lt;P&gt;I tried some different combination of these widths,&amp;nbsp; also the following HTML&amp;nbsp; text/css,&amp;nbsp; &amp;nbsp;also margin-bottom,&amp;nbsp; etc, etc,&amp;nbsp; but whatever I tried,&amp;nbsp; only the width of&amp;nbsp; whole area dropdown changed,&amp;nbsp; never worked for&amp;nbsp; &amp;nbsp;the dropdown box width.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wangkevin1029_0-1645238567080.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18043iDACAA64E6A2D0BAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wangkevin1029_0-1645238567080.png" alt="wangkevin1029_0-1645238567080.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also tried the following CSS&amp;nbsp; code,&amp;nbsp; but have the same issue.&lt;/P&gt;&lt;PRE&gt;    &amp;lt;html&amp;gt;
      &amp;lt;style type="text/css"&amp;gt;
#input_unit {
  width: 440px;
}
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;thx in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 02:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585793#M48012</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-02-19T02:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585807#M48013</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;html&amp;gt;
      &amp;lt;style type="text/css"&amp;gt;
          #input_unit div[data-component="splunk-core:/splunkjs/mvc/components/Dropdown"]
          {
            width: 440px; !important;
          }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 19 Feb 2022 10:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585807#M48013</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-19T10:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585819#M48014</link>
      <description>&lt;P&gt;&lt;SPAN&gt;ITWhisperer，&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thx for your quick response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I put your code in front of my dropdown id&amp;nbsp;&amp;nbsp;TargetSEValidationid.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;unfortunately, width change not working here, I attached a screenshot below.&lt;/P&gt;&lt;P&gt;besides,&amp;nbsp; this code looks inserts a line break before it. whatever width I put here, there is always just a line break.&lt;/P&gt;&lt;P&gt;I am pretty sure, this code causes this line break.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style type="text/css"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #TargetSEValidationid div[data-component="splunk-core:/splunkjs/mvc/components/Dropdown"]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 100px; !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input id="TargetSEValidationid" type="dropdown" token="t_TargetSEValidation" searchWhenChanged="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;label&amp;gt;TargetSEValidation&amp;lt;/label&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;choice value="."&amp;gt;ALL&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;choice value="TRUE"&amp;gt;TRUE&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;choice value="FALSE"&amp;gt;FALSE&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;default&amp;gt;.&amp;lt;/default&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;initialValue&amp;gt;.&amp;lt;/initialValue&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wangkevin1029_0-1645285878870.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18046i0FA9B7C807F563B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wangkevin1029_0-1645285878870.png" alt="wangkevin1029_0-1645285878870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 15:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585819#M48014</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-02-19T15:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585824#M48016</link>
      <description>&lt;P&gt;Two things: you could try adding max-width: as well as width, and also the changes don't show up in edit mode, you have to save the changes&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 20:48:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585824#M48016</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-19T20:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585833#M48019</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, &lt;SPAN&gt;ITWhisperer,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I added&amp;nbsp; max-width,&amp;nbsp; it looks better, but not fully working, now,&amp;nbsp; field box width changed, but area width not changed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;before I added max-width, area width decreased, but field box not changed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #TargetSEValidationID div[data-component="splunk-core:/splunkjs/mvc/components/Dropdown"]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 120px; !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max-width: 140px; !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wangkevin1029_2-1645310119259.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18051i293AD6934E7AA202/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wangkevin1029_2-1645310119259.png" alt="wangkevin1029_2-1645310119259.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wangkevin1029_0-1645310089403.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18049iCD0C867A7FFF1119/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wangkevin1029_0-1645310089403.png" alt="wangkevin1029_0-1645310089403.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 22:45:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585833#M48019</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-02-19T22:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585838#M48022</link>
      <description>&lt;P&gt;Sorry, my mistake. There was an extra semi-colon which should be removed.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    &amp;lt;html&amp;gt;
      &amp;lt;style type="text/css"&amp;gt;
          #TargetSEValidationID div[data-component="splunk-core:/splunkjs/mvc/components/Dropdown"]
          {
            max-width: 140px !important;
            width: 120px !important;
          }
      &amp;lt;/style&amp;gt;
    &amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 19 Feb 2022 23:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585838#M48022</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-19T23:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585841#M48025</link>
      <description>&lt;P&gt;just tried， after removing semi-colon, box width&amp;nbsp; showing some difference,&amp;nbsp; but area width still no change.&lt;/P&gt;&lt;P&gt;basically, I have many input fields here, want to shrink them to save some space.&lt;/P&gt;&lt;P&gt;if only box width is decreased,&amp;nbsp; it won't save any space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 23:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585841#M48025</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-02-19T23:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown width change not working properly</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585850#M48029</link>
      <description>&lt;P&gt;I&amp;nbsp; added another&amp;nbsp; css here, it works now, not sure why,&amp;nbsp; but it works beautifully as I expected.&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wangkevin1029_0-1645324925529.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18053i691DE4607A12541E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wangkevin1029_0-1645324925529.png" alt="wangkevin1029_0-1645324925529.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #TargetSEValidationID {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 140px;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #TargetSEValidationID div[data-component="splunk-core:/splunkjs/mvc/components/Dropdown"]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 120px; !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max-width: 140px; !important;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #TargetSEValidationID {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 140px;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 20 Feb 2022 02:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-width-change-not-working-properly/m-p/585850#M48029</guid>
      <dc:creator>wangkevin1029</dc:creator>
      <dc:date>2022-02-20T02:42:49Z</dc:date>
    </item>
  </channel>
</rss>

