From 5bcc8e9caa4a2a6fa38de657d75ef4f8b26805d5 Mon Sep 17 00:00:00 2001 From: Victoria Sloan Date: Sun, 23 Aug 2020 09:44:30 +0100 Subject: [PATCH] move table styles from global.css to budibase.css --- packages/builder/src/budibase.css | 28 +++++++++++++++++++++++++++- packages/builder/src/global.css | 28 +--------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/packages/builder/src/budibase.css b/packages/builder/src/budibase.css index 8de82530b1..0db3e2fec7 100644 --- a/packages/builder/src/budibase.css +++ b/packages/builder/src/budibase.css @@ -127,4 +127,30 @@ align-items: center; justify-content: center; font-size: 20px; -} \ No newline at end of file +} + +/* Table styles */ +.bb-table { + border-collapse: collapse; + border-spacing: 0; + width: 100%; + margin-bottom: var(--spacing-xl); +} + +* + .bb-table { + margin-top: var(--spacing-xl) +} + +.bb-table th { + padding: var(--spacing-l) var(--spacing-m); + text-align: left; + vertical-align: bottom; +} + +.bb-table td { + padding: var(--spacing-l) var(--spacing-m); + vertical-align: top; +} + +.bb-table td > :last-child { margin-bottom: 0; } + diff --git a/packages/builder/src/global.css b/packages/builder/src/global.css index 6e2411ae5c..579ecdd8ba 100644 --- a/packages/builder/src/global.css +++ b/packages/builder/src/global.css @@ -111,30 +111,4 @@ textarea { * + .bb-margin-xl { margin-top: var(--spacing-xl); -} - -/* Table styles */ -.bb-table { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - margin-bottom: var(--spacing-xl); -} - -* + .bb-table { - margin-top: var(--spacing-xl) -} - -.bb-table th { - padding: var(--spacing-l) var(--spacing-m); - text-align: left; - vertical-align: bottom; -} - -.bb-table td { - padding: var(--spacing-l) var(--spacing-m); - vertical-align: top; -} - -.bb-table td > :last-child { margin-bottom: 0; } - +} \ No newline at end of file