From b86c102e01a888ef989f5281e201810b4e66c3eb Mon Sep 17 00:00:00 2001 From: Dejan Simic Date: Sat, 27 Apr 2024 18:27:59 +0200 Subject: [PATCH] Pretty print params --- extension/package-lock.json | 6 ++++ extension/package.json | 1 + extension/src/components/ActionParams.vue | 31 ++++++++++++++++--- .../src/components/ActiveRecordQueries.vue | 2 +- extension/src/style.css | 5 --- 5 files changed, 35 insertions(+), 10 deletions(-) diff --git a/extension/package-lock.json b/extension/package-lock.json index 1fb5a00..5b15a94 100644 --- a/extension/package-lock.json +++ b/extension/package-lock.json @@ -11,6 +11,7 @@ "ansi-to-html": "^0.7.2", "highlight.js": "^11.9.0", "pinia": "^2.1.7", + "pretty-print-json": "^3.0.0", "primeicons": "^7.0.0", "primevue": "^3.49.1", "vue": "^3.4.19" @@ -1903,6 +1904,11 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "node_modules/pretty-print-json": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pretty-print-json/-/pretty-print-json-3.0.0.tgz", + "integrity": "sha512-1993HBv7RNqoPNgaajOK3RLm544t3jongECDFw6Y5faYiBeg2tg62jDT1EDmXRRDn296ykH49A8tphkQBHUSTA==" + }, "node_modules/primeicons": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/primeicons/-/primeicons-7.0.0.tgz", diff --git a/extension/package.json b/extension/package.json index 4fe6bfd..8ad2c5e 100644 --- a/extension/package.json +++ b/extension/package.json @@ -14,6 +14,7 @@ "ansi-to-html": "^0.7.2", "highlight.js": "^11.9.0", "pinia": "^2.1.7", + "pretty-print-json": "^3.0.0", "primeicons": "^7.0.0", "primevue": "^3.49.1", "vue": "^3.4.19" diff --git a/extension/src/components/ActionParams.vue b/extension/src/components/ActionParams.vue index d0b3362..6f10caf 100644 --- a/extension/src/components/ActionParams.vue +++ b/extension/src/components/ActionParams.vue @@ -1,14 +1,37 @@ diff --git a/extension/src/components/ActiveRecordQueries.vue b/extension/src/components/ActiveRecordQueries.vue index 65cb481..7307e01 100644 --- a/extension/src/components/ActiveRecordQueries.vue +++ b/extension/src/components/ActiveRecordQueries.vue @@ -9,7 +9,7 @@ diff --git a/extension/src/style.css b/extension/src/style.css index ed7b813..c410fd8 100644 --- a/extension/src/style.css +++ b/extension/src/style.css @@ -33,8 +33,3 @@ --primary-950: 69 10 10; } - -/* custom scrollbar */ -/* ::-webkit-scrollbar { - width: 0px; -} */ \ No newline at end of file