From 7d6209a31ca1002827381aa9fd5d5c3bc4c00cd3 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Sun, 22 Aug 2021 15:38:44 +0300 Subject: [PATCH] Cleaning up css styles Signed-off-by: Alex Andreev --- .../delete-cluster-dialog.module.css | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.module.css b/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.module.css index 1a5759642e..05beb58b57 100644 --- a/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.module.css +++ b/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.module.css @@ -1,44 +1,29 @@ -.code { - @apply block overflow-auto whitespace-nowrap; - background: #e0e0e0; - padding: 6px 8px; - color: #4c4c4c; - font-size: 0.9em; -} - .warning { - @apply mt-4 flex; - padding: 10px 16px; + @apply mt-4 flex py-4 px-6 rounded-md items-center; background: #fad8d7; color: #797979; - border-radius: 3px; } .warningIcon { - @apply mr-5 mt-2.5; + @apply mr-5; font-size: 26px; } .dialog { > div { + @apply rounded-md bg-white; max-width: 600px; min-width: calc(45 * var(--unit)); - background-color: white; - border-radius: 3px; } } .dialogContent { - padding: 24px; - line-height: 1.4; + @apply p-9 leading-9; } .dialogButtons { + @apply flex justify-end p-7 rounded-md; background: #f4f4f4; - padding: 16px; - display: flex; - justify-content: flex-end; - border-radius: 3px; > * { margin-left: var(--margin)