Merge pull request #64 from ayoayco/feat/62-code-block-styling
style: code block
This commit is contained in:
commit
d8061e2cb5
3 changed files with 8 additions and 5 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@ayco/cozy",
|
||||
"version": "0.1.26",
|
||||
"version": "0.1.27",
|
||||
"scripts": {
|
||||
"start": "astro dev",
|
||||
"build": "astro build"
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue