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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...