diff --git a/package-lock.json b/package-lock.json index 1bafaea..edc4711 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ayco/cozy", - "version": "0.1.7", + "version": "0.1.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ayco/cozy", - "version": "0.1.7", + "version": "0.1.8", "dependencies": { "@astro-reactive/form": "^0.8.1", "@astro-reactive/validator": "^0.3.4", diff --git a/package.json b/package.json index f24f8da..40c57b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ayco/cozy", - "version": "0.1.7", + "version": "0.1.8", "scripts": { "start": "astro dev", "build": "astro build" diff --git a/src/components/Library.astro b/src/components/Library.astro index 3fd259b..9f32933 100644 --- a/src/components/Library.astro +++ b/src/components/Library.astro @@ -129,7 +129,7 @@ const {postDivSelector, skipSave = false} = Astro.props; border: 1px solid #ccc; box-shadow: 0 5px 2px #eee; border-radius: 5px; - padding: 1em; + padding: 1rem; width: calc(100% + 40px); display: block; float: left; @@ -146,7 +146,7 @@ const {postDivSelector, skipSave = false} = Astro.props; :global(.post-card) { :global(.post-card__image) { float: left; - margin-right: 1em; + margin-right: 1rem; :global(img) { width: 150px; height: 150px; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 4c0ee61..3cb924e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -43,7 +43,8 @@ const { meta } = Astro.props; } #main-content * { - margin: 1em 0 0; + margin: 1rem 0 0; + padding: 0 0.5rem; }