PROPERTY LIST:Episerver后台无法查看全部条目,这是BUG吗?
Hey there! Great question—this isn’t actually a bug, but a default UI behavior in Episerver that you can customize to fix the hidden content problem.
Why this happens
Episerver’s default styling for the Property List component sets a fixed max-height on its container (usually around 200-250px) and enables vertical scrolling. When you add more than 5-6 items, the container doesn’t automatically expand, and if the scrollbar isn’t obvious or the height is too small, it can look like content is missing entirely.
How to fix it
Here are a few straightforward solutions:
Customize the CMS CSS
Add a custom style rule to adjust the container’s height and scrolling behavior. You can place this in your project’s CMS theme stylesheet or a custom module’s CSS file:/* Target the Property List container */ .epi-propertyList { max-height: 500px; /* Adjust this value to fit your typical number of items */ overflow-y: auto; /* Ensures a scrollbar appears when content exceeds the height */ }For Episerver CMS 11+, make sure your custom styles are loaded into the CMS interface (you can use the
ClientResourceManagerto register them).Check for custom editor conflicts
If you’re using a custom Property List editor (instead of the out-of-the-box one), double-check the editor’s view files or associated CSS. Sometimes custom implementations hardcode a fixed height that restricts visibility.Update to a newer Episerver version (if applicable)
If you’re on an older CMS version (pre-CMS 10), there were minor UI component quirks that could cause this. Upgrading to the latest stable release might resolve it, though adjusting CSS is usually the faster fix.
Quick troubleshooting tip
Use your browser’s developer tools (F12) to inspect the Property List container. Look for elements with classes like epi-propertyList or epi-container—you can tweak the max-height value in real-time to find the perfect fit before adding it to your custom styles.
Hope this helps you get all those list items visible! Let me know if you hit any roadblocks while adjusting the styles.
内容的提问来源于stack exchange,提问作者Ayo Adesina

