From d8a5e642f8fc4f09b49f767828eaf6ee9f0f4aa5 Mon Sep 17 00:00:00 2001 From: SupianIDz Date: Sat, 8 Aug 2020 10:22:41 +0800 Subject: [PATCH 1/2] Added .editorconfig to prevent my IDE from changing the default spacing --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1014ba7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false From 061b1f7ba4daefc85f57250cdd8033e828a92946 Mon Sep 17 00:00:00 2001 From: SupianIDz Date: Sat, 8 Aug 2020 10:24:53 +0800 Subject: [PATCH 2/2] Increase the top height on the chart of space usage --- src/components/space-usage/SpaceUsage.js | 2 +- tailwind.config.js | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/space-usage/SpaceUsage.js b/src/components/space-usage/SpaceUsage.js index 5e394d6..a6b8df1 100644 --- a/src/components/space-usage/SpaceUsage.js +++ b/src/components/space-usage/SpaceUsage.js @@ -3,7 +3,7 @@ import Chart from "assets/img/illustration/chart.svg"; const SpaceUsage = () => { return ( -
+
Space usage

10,5 GB diff --git a/tailwind.config.js b/tailwind.config.js index 28ddd9b..588307c 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,8 +1,11 @@ module.exports = { - purge: ['./src/*.js', './src/components/**/*.js'], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], + purge: ['./src/*.js', './src/components/**/*.js'], + theme: { + extend: {}, + height: { + 40: "10rem" + } + }, + variants: {}, + plugins: [], };