Use class-only grid activation in event filter
This commit is contained in:
@@ -53,10 +53,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
targetList.classList.add('event-filter-target-list');
|
targetList.classList.add('event-filter-target-list');
|
||||||
|
targetList.classList.add('grid');
|
||||||
targetList.style.display = 'grid';
|
|
||||||
targetList.style.gridTemplateColumns = 'repeat(auto-fill, minmax(240px, 1fr))';
|
|
||||||
targetList.style.gap = '1rem';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!list) {
|
if (!list) {
|
||||||
|
|||||||
Reference in New Issue
Block a user