Home Analyst Portal

Custom View to hide buttons

Kevin_GoodwinKevin_Goodwin Customer Advanced IT Monkey ✭✭✭

I'm hoping someone can help me find a way to remove some buttons on a dashboard page I created. I am trying to hide the "Expand\Collapse All" Buttons and bring everything to the top.


Answers

  • Geoff_RossGeoff_Ross Cireson Consultant O.G.

    Hi Kevin,

    There's multiple contributors to this white space, margin below the header, the buttons themselves and margin above the sub heading. However, this little snippet will remove the largest block and the buttons.

    JQuery:

    $('.dashboard-container.ng-isolate-scope .container-fluid.margin-t20.ng-scope').hide();
    

    CSS

    .dashboard-container.ng-isolate-scope .container-fluid.margin-t20.ng-scope {
        display: none;
    }
    

    Geoff

  • Kevin_GoodwinKevin_Goodwin Customer Advanced IT Monkey ✭✭✭

    Thanks Geoff! Forgive me as I am not great with things like this. Where would I plug this in to have it apply to the single page I am wanting it applied on? And I am guessing the Jquery and the CSS are just two options that will do the same thing depending on which one I want to use?

    Thanks!

  • Sergey_AstashkiSergey_Astashki Customer IT Monkey ✭
Sign In or Register to comment.