react-js-plugins
Version:
A powerful and efficient React utility library designed to enhance application performance by streamlining and simplifying the management of complex asynchronous operations.
6 lines (5 loc) • 797 B
JavaScript
export function _injectCSS() {
var style = document.createElement("style");
style.innerHTML = "\n .thin-scrollbar {\n scrollbar-width: thin;\n scrollbar-color: #d1d5db #f9fafb;\n }\n .thin-scrollbar::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n .thin-scrollbar::-webkit-scrollbar-track {\n background: #cacbcc;\n border-radius: 4px;\n }\n .thin-scrollbar::-webkit-scrollbar-thumb {\n background-color: #bebfc2;\n border-radius: 4px;\n border: 1px solid #f9fafb;\n }\n .thin-scrollbar::-webkit-scrollbar-thumb:hover {\n background-color: #9ca3af;\n }\n .smooth-scroll {\n scroll-behavior: smooth;\n -webkit-overflow-scrolling: touch;\n}\n ";
document.head.appendChild(style);
}