style/spacing fixes (#31)

* style: spacing fixes

* 0.1.8
This commit is contained in:
Ayo Ayco 2023-06-10 12:17:40 +02:00 committed by GitHub
parent 44ae633dd6
commit 50fc6edd51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "@ayco/cozy", "name": "@ayco/cozy",
"version": "0.1.7", "version": "0.1.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@ayco/cozy", "name": "@ayco/cozy",
"version": "0.1.7", "version": "0.1.8",
"dependencies": { "dependencies": {
"@astro-reactive/form": "^0.8.1", "@astro-reactive/form": "^0.8.1",
"@astro-reactive/validator": "^0.3.4", "@astro-reactive/validator": "^0.3.4",

View file

@ -1,6 +1,6 @@
{ {
"name": "@ayco/cozy", "name": "@ayco/cozy",
"version": "0.1.7", "version": "0.1.8",
"scripts": { "scripts": {
"start": "astro dev", "start": "astro dev",
"build": "astro build" "build": "astro build"

View file

@ -129,7 +129,7 @@ const {postDivSelector, skipSave = false} = Astro.props;
border: 1px solid #ccc; border: 1px solid #ccc;
box-shadow: 0 5px 2px #eee; box-shadow: 0 5px 2px #eee;
border-radius: 5px; border-radius: 5px;
padding: 1em; padding: 1rem;
width: calc(100% + 40px); width: calc(100% + 40px);
display: block; display: block;
float: left; float: left;
@ -146,7 +146,7 @@ const {postDivSelector, skipSave = false} = Astro.props;
:global(.post-card) { :global(.post-card) {
:global(.post-card__image) { :global(.post-card__image) {
float: left; float: left;
margin-right: 1em; margin-right: 1rem;
:global(img) { :global(img) {
width: 150px; width: 150px;
height: 150px; height: 150px;

View file

@ -43,7 +43,8 @@ const { meta } = Astro.props;
} }
#main-content * { #main-content * {
margin: 1em 0 0; margin: 1rem 0 0;
padding: 0 0.5rem;
} }
</style> </style>