diff --git a/package-lock.json b/package-lock.json index 0ad4e18..5b1fb85 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2984,6 +2984,12 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "highlight.js": { + "version": "9.18.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.1.tgz", + "integrity": "sha512-OrVKYz70LHsnCgmbXctv/bfuvntIKDz177h0Co37DQ5jamGZLVmoCVMtjMtNZY3X9DrCcKfklHPNeA0uPZhSJg==", + "dev": true + }, "supports-color": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", @@ -6004,10 +6010,9 @@ "dev": true }, "highlight.js": { - "version": "9.18.1", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.1.tgz", - "integrity": "sha512-OrVKYz70LHsnCgmbXctv/bfuvntIKDz177h0Co37DQ5jamGZLVmoCVMtjMtNZY3X9DrCcKfklHPNeA0uPZhSJg==", - "dev": true + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.0.2.tgz", + "integrity": "sha512-2gMT2MHU6/2OjAlnaOE2LFdr9dwviDN3Q2lSw7Ois3/5uTtahbgYTkr4EPoY828ps+2eQWiixPTF8+phU6Ofkg==" }, "hmac-drbg": { "version": "1.0.1", diff --git a/package.json b/package.json index c0066c9..2bdf3c9 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "dependencies": { "autoprefixer": "^9.7.6", "core-js": "^3.6.4", + "highlight.js": "^10.0.2", "tailwindcss": "^1.4.4", "vue": "^2.6.11", "vue-clipboard2": "^0.3.1" diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index d66703d..ebf8739 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -4,4 +4,17 @@ @tailwind components; +::-webkit-scrollbar { + width: 5px; + } + ::-webkit-scrollbar-track{ + background: #2D3748; + } + ::-webkit-scrollbar-thumb{ + background: #CBD5E0; + } + ::-webkit-scrollbar-thumb:hover{ + background: #718096; + } + @tailwind utilities \ No newline at end of file diff --git a/src/components/Alert/NotificationPop.vue b/src/components/Alert/NotificationPop.vue index a24fb0a..0ae4862 100644 --- a/src/components/Alert/NotificationPop.vue +++ b/src/components/Alert/NotificationPop.vue @@ -26,15 +26,15 @@ export default { return { name: 'Notification Pop', code: `
Sara was replied on the Upload Image.
-Sara was replied on the Upload Image.
+{{ code }}
+