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",
"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",

View file

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

View file

@ -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;

View file

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