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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...