Merge pull request #64 from ayoayco/feat/62-code-block-styling

style: code block
This commit is contained in:
Ayo Ayco 2023-06-24 10:18:49 +02:00 committed by GitHub
commit d8061e2cb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@ayco/cozy",
"version": "0.1.26",
"version": "0.1.27",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@ayco/cozy",
"version": "0.1.26",
"version": "0.1.27",
"dependencies": {
"@astrojs/netlify": "^2.2.2",
"@extractus/article-extractor": "^7.2.15",

View file

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

View file

@ -52,8 +52,6 @@ const datePublished =
}
}
content {
p, table, ul, img {
margin: 1em 0 !important;
@ -72,5 +70,10 @@ const datePublished =
pre {
white-space: pre-wrap;
}
pre:has(code) {
padding: 1em;
background: #f6f8fa;
border-radius: 5px;
}
}
</style>