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!

Don't wait! Accept the Mission Possible: Splunk Adoption Challenge Now and Win ...

Attention everyone! We have exciting news to share! We are recruiting new members for the Mission Possible: ...

Unify Your SecOps with Splunk Mission Control

In today’s post, I'm excited to share some recent Splunk Mission Control innovations. With Splunk Mission ...

Data Preparation Made Easy: SPL2 for Edge Processor

By now, you may have heard the exciting news that Edge Processor, the easy-to-use Splunk data preparation tool ...