A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang. (PERSONAL FORK)
at lambda-fork/main 13 lines 432 B view raw
1export const updateCardHV = () => { 2 /// #if MOBILE 3 if (window.matchMedia("(orientation:portrait)").matches) { 4 document.querySelectorAll(".card__action .card__icon").forEach(item => { 5 item.classList.remove("fn__none"); 6 }); 7 } else { 8 document.querySelectorAll(".card__action .card__icon").forEach(item => { 9 item.classList.add("fn__none"); 10 }); 11 } 12 /// #endif 13};