From ed4f7d790b633398d86dbe0c1b72673f688a538a Mon Sep 17 00:00:00 2001 From: Hyunseung Date: Thu, 4 Jul 2024 13:54:09 +0900 Subject: [PATCH] update layout --- README.md | 3 +++ package.json | 1 - src/css/3rd party.css | 8 +------- src/css/layout.css | 9 +++++++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 19c815a..621fcae 100644 --- a/README.md +++ b/README.md @@ -43,3 +43,6 @@ It is a app that is mostly used by students in Korea, and it is available on the ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/hslee2008/finalscalculator?style=for-the-badge) ![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/hslee2008/FinalsCalculator?style=for-the-badge) + +## Todos +- rewrite tests for a new structure \ No newline at end of file diff --git a/package.json b/package.json index 1f82cd0..21ef381 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ "carbon-components-svelte": "^0.85.0", "firebase": "^10.12.3", "hyunseung-svelte-google-analytics": "^2.6.4", - "hyunseung-svelte-tabs": "^1.2.0", "svelte-meta-tags": "^3.1.2" } } diff --git a/src/css/3rd party.css b/src/css/3rd party.css index 8af4086..7611bba 100644 --- a/src/css/3rd party.css +++ b/src/css/3rd party.css @@ -54,10 +54,4 @@ .bx--number__control-btn::before, .bx--number__control-btn::after { background-color: transparent !important; -} - -/* Svelte-Tabs */ - -.svelte-tabs__tab-list { - border-bottom: none !important; -} +} \ No newline at end of file diff --git a/src/css/layout.css b/src/css/layout.css index 1a770c0..024c28b 100644 --- a/src/css/layout.css +++ b/src/css/layout.css @@ -1,9 +1,14 @@ body { margin: 0; - display: flex; place-items: center; min-width: 300px; - min-height: 100vh; +} + +@media screen and (min-width: 500px) { + body { + display: flex; + min-height: 100vh; + } } #app {