From 767493057ff14d518cecd93ad64cb5c8ac21e3e1 Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Tue, 20 Jun 2023 14:33:14 +0200 Subject: [PATCH] Buttons in Formatters are now better placed --- Frontend/src/style.css | 2 +- Frontend/src/views/JsonFormatterView.vue | 2 +- Frontend/src/views/XmlFormatterView.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Frontend/src/style.css b/Frontend/src/style.css index 327b065..4762ca1 100644 --- a/Frontend/src/style.css +++ b/Frontend/src/style.css @@ -3,7 +3,7 @@ @tailwind utilities; .tool-button { - @apply py-1 px-4 rounded-full bg-gradient-to-r from-blue-300 to-sky-200 dark:text-white dark:from-sky-600 dark:to-sky-800 hover:bg-blue-400 + @apply py-1 px-4 rounded-full w-fit bg-gradient-to-r from-blue-300 to-sky-200 dark:text-white dark:from-sky-600 dark:to-sky-800 hover:bg-blue-400 } .text-field { diff --git a/Frontend/src/views/JsonFormatterView.vue b/Frontend/src/views/JsonFormatterView.vue index 72f4d6a..ca70ad8 100644 --- a/Frontend/src/views/JsonFormatterView.vue +++ b/Frontend/src/views/JsonFormatterView.vue @@ -24,7 +24,7 @@ function clear() {
JSON Formatter -
+
diff --git a/Frontend/src/views/XmlFormatterView.vue b/Frontend/src/views/XmlFormatterView.vue index cd225dc..7ef3271 100644 --- a/Frontend/src/views/XmlFormatterView.vue +++ b/Frontend/src/views/XmlFormatterView.vue @@ -24,7 +24,7 @@ function clear() {
XML Formatter -
+