UI - Live filters preview - Make it sticky in the viewport so its easier to build nice filters

pull/2680/head
dgtlmoon 3 months ago
parent e9e063e18e
commit 97af190910

@ -24,6 +24,7 @@ body.preview-text-enabled {
#text-preview { #text-preview {
position: sticky; position: sticky;
top: 20px;
padding-top: 1rem; padding-top: 1rem;
padding-bottom: 1rem; padding-bottom: 1rem;
display: block !important; display: block !important;

@ -474,6 +474,7 @@ body.preview-text-enabled {
display: none; } display: none; }
body.preview-text-enabled #text-preview { body.preview-text-enabled #text-preview {
position: sticky; position: sticky;
top: 20px;
padding-top: 1rem; padding-top: 1rem;
padding-bottom: 1rem; padding-bottom: 1rem;
display: block !important; } display: block !important; }

Loading…
Cancel
Save