1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-20 06:33:25 +00:00

refactor: reduce custom CSS

This commit is contained in:
Cotes Chung
2024-04-21 00:00:50 +08:00
parent 63c51384df
commit 015d5670a1
4 changed files with 4 additions and 24 deletions

View File

@@ -14,8 +14,8 @@ const input = document.getElementById('search-input');
const hints = document.getElementById('search-hints');
// CSS class names
const LOADED = 'loaded';
const UNLOADED = 'unloaded';
const LOADED = 'd-block';
const UNLOADED = 'd-none';
const FOCUS = 'input-focus';
const FLEX = 'd-flex';