diff --git a/public/js/icon-picker.js b/public/js/icon-picker.js index c7ea812..119152a 100644 --- a/public/js/icon-picker.js +++ b/public/js/icon-picker.js @@ -116,7 +116,9 @@ } function _renderGrid(icons) { + const grid = document.getElementById('iconGrid'); + grid.style.visibility = 'hidden'; if (!icons.length) { grid.innerHTML = '

No icons found.

'; return; @@ -133,6 +135,10 @@ ${icon.label} `).join(''); + + document.fonts.ready.then(() => { + grid.style.visibility = 'visible'; + }); } function pick(value) { diff --git a/views/admin/dashboard.ejs b/views/admin/dashboard.ejs index f32a370..868ca47 100644 --- a/views/admin/dashboard.ejs +++ b/views/admin/dashboard.ejs @@ -65,22 +65,51 @@ - -
-
-
+ +
+
+
-
About Us
-

Manage about us

+
About Section
+

Manage about pages

- - Edit - + +
+ +
@@ -510,4 +539,14 @@ background-color: var(--primary-color) !important; color: white; } - \ No newline at end of file + + + \ No newline at end of file