diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 9e0fb9d3..c19559de 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -42,7 +42,6 @@ body { line-height: 1.5; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; - -webkit-user-select: none; user-select: none; } @@ -226,6 +225,7 @@ pre { font-size: 18px; font-family: monospace; transition: all 0.2s ease-in-out; + user-select: all; &:not([readonly]):hover, &:not([readonly]):focus { @@ -418,7 +418,6 @@ fieldset#history { position: relative; overflow: hidden; border-radius: 4px; - margin: 4px; textarea { margin: 0; diff --git a/pages/index.vue b/pages/index.vue index acfa56ac..e48a989c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -10,7 +10,14 @@
@@ -24,7 +31,7 @@
@@ -180,7 +187,7 @@
-
{{response.body}}
+
{{response.body}}
@@ -228,7 +235,7 @@
  1. - +
  2. @@ -255,7 +262,7 @@
    1. - +
    2. @@ -291,7 +298,7 @@ import import_modal from "../components/modal"; import parseCurlCommand from '../assets/js/curlparser.js'; import hljs from 'highlight.js'; - import 'highlight.js/styles/github.css'; + import 'highlight.js/styles/dracula.css'; const statusCategories = [{ name: 'informational', @@ -863,6 +870,9 @@ } catch (error) { this.showModal = false; } + }, + toggleModal() { + this.showModal = !this.showModal; } }, mounted() {