From 93e36b9a6805446b8f468aa65b35027f3a80aa79 Mon Sep 17 00:00:00 2001
From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com>
Date: Wed, 27 Oct 2021 05:27:55 +0700
Subject: [PATCH] final version, cleaning
---
others/toggles | 33 +++++++++++++++++++++++
src/App.svelte | 55 +++++---------------------------------
src/widgets/Anydata.svelte | 6 ++---
src/widgets/Input.svelte | 6 ++---
src/widgets/Toggle.svelte | 6 ++---
5 files changed, 48 insertions(+), 58 deletions(-)
create mode 100644 others/toggles
diff --git a/others/toggles b/others/toggles
new file mode 100644
index 0000000..8f36c52
--- /dev/null
+++ b/others/toggles
@@ -0,0 +1,33 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/App.svelte b/src/App.svelte
index 1fdb35b..bfbb5f7 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -244,41 +244,7 @@
-
-
-
-
-
-
-
+
@@ -305,20 +271,14 @@
}
/* 2. style for card header */
.card-header {
- @apply text-center text-lg text-gray-500 font-bold pb-6;
+ @apply text-center text-lg text-gray-500 font-bold pb-4;
}
/* 3. card items positioning*/
- .card-items-psn-ajustable {
- @apply flex flex-col sm:flex-row lg:flex-row xl:flex-row 2xl:flex-row mb-6 h-8 items-center;
- }
- .card-items-psn-inline {
- @apply flex mb-6 h-8 items-center;
+ .card-items-psn {
+ @apply flex mb-4 h-8 items-center;
}
/* 4. widget description width*/
- .widget-descr-width-ajustable {
- @apply w-full sm:w-2/3 lg:w-2/3 xl:w-2/3 2xl:w-2/3;
- }
- .widget-descr-width-inline {
+ .widget-descr-width {
@apply w-2/3;
}
/* 5. widget descr style*/
@@ -326,10 +286,7 @@
@apply pr-4 text-gray-500 font-bold;
}
/* 6. widget width*/
- .widget-width-ajustable {
- @apply w-full sm:w-1/3 lg:w-1/3 xl:w-1/3 2xl:w-1/3;
- }
- .widget-width-inline {
+ .widget-width {
@apply flex justify-end w-1/3;
}
/*====================================================others=====================================================*/
diff --git a/src/widgets/Anydata.svelte b/src/widgets/Anydata.svelte
index fcfd706..4848130 100644
--- a/src/widgets/Anydata.svelte
+++ b/src/widgets/Anydata.svelte
@@ -6,12 +6,12 @@
export let widget;
-