Dashboards & Visualizations

Simple.XML - Stop HTML from going to new row

simpkins1958
Contributor

I'm trying to implement a solution similar to https://answers.splunk.com/answers/149649/clean-all-filter-inputs-with-a-button.html.

The one issue I am having is the HTML is displaying on a new row. Want it aligned with the other INPUTs.

      </change>
    </input>
    <html><a>Reset Filters</a></html>
  </fieldset>

alt text

Tags (3)
0 Karma
1 Solution

niketn
Legend

@simpkins1958 test the following CSS override and confirm:

     <html>
          <a id="anchor_reset">Reset Filters</a>
     </html>
   </fieldset>
   <row depends="$alwaysHideCSSPanel$">
     <panel>
       <html>
         <style>
           a#anchor_reset{
              position: relative;
              top: 30px;
              padding-right: 10px;           
           }
           .fieldset{
              display: flex;
           }
         </style>
       </html>
     </panel>
   </row>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@simpkins1958 test the following CSS override and confirm:

     <html>
          <a id="anchor_reset">Reset Filters</a>
     </html>
   </fieldset>
   <row depends="$alwaysHideCSSPanel$">
     <panel>
       <html>
         <style>
           a#anchor_reset{
              position: relative;
              top: 30px;
              padding-right: 10px;           
           }
           .fieldset{
              display: flex;
           }
         </style>
       </html>
     </panel>
   </row>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

simpkins1958
Contributor

Works perfectly. Thanks!!

0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

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 ...