wbrowar / craft-grid

A field that lets you content manage CSS Grid in Craft CMS.
Other
18 stars 2 forks source link

input list should be sticky. #17

Closed Geestig closed 4 years ago

Geestig commented 4 years ago

When looking at the code in the backend I see you've added position sticky to the items list. However this does not seem to work.

The reason for this is because on '.gridinputbreakpoints' you've added an overflow:hidden.

EDIT: Change your CSS with 'css control panel' (https://plugins.craftcms.com/cp-css) or something to the following for your lists to be sticky again.

.grid__input__breakpoints {
  overflow: visible !important;
}

.grid__input__breakpoint--before, .grid__input__breakpoint--after {
  opacity: 0 !important;
  transition: 0.2s all ease-out !important;
}
wbrowar commented 4 years ago

Thanks, @Geestig! I'll add this to the 3.5 compatibility update.