Try our conversational search powered by Generative AI!

PowerSlice

Vote:
 

Hi

I have created multiple slices(20+) using powerslice addon.

When i click on the dropdown i am unable to get to the last slice as the dropdown menu doesn't have any scrollbar.

Is there any way to solve this.

#248862
Feb 19, 2021 8:38
Vote:
 

maybe you could add a stylesheet for loading in to the CMS with a module.config and force scrollbars on to the element that doesn't have them currently?

#248869
Feb 19, 2021 11:01
Vote:
 

Hi Scott

Can you provide some code reference.

#248969
Feb 22, 2021 10:20
Vote:
 

I don't use powerslice so I can't offer any specific CSS classes.

Below is the modue.config file you can add in to the webroot which loads a CSS file in to the editor space. I use this to tweak field layout in episerver and property list modals.

<module xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <clientResources>
    <!-- Add css file path in path attribute-->
    <add name="sample.editortweaks" path="/ClientResources/epi-cms.css" resourceType="Style" />
  </clientResources>
</module>

For you you'll have to use DevTools in Chrome (or browser of choice) to look at the HTML and CSS classes and figure out what element/class/id to target on a CSS declaration. I'd suggest just tweaking it directly in DevTools in the browser first to find what works then apply it in to the .css file.

#248970
Edited, Feb 22, 2021 10:35
Vote:
 

Hi Scott

Thanks for your help. it Worked.

#249128
Feb 24, 2021 10:01
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.