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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...