mirror of
https://github.com/liyunze-coding/coworking-website.git
synced 2026-11-06 13:13:34 +00:00
Update Layout.astro
This commit is contained in:
parent
a8fc3929fe
commit
2328a0ac62
1 changed files with 5 additions and 2 deletions
|
|
@ -83,7 +83,10 @@ const { title, description } = Astro.props;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
p code {
|
||||||
max-width: 100%;
|
word-break: break-all; /* This will allow the URL to break at any character */
|
||||||
|
display: block; /* Ensures the entire URL is on its own line */
|
||||||
|
width: 100%; /* Make sure the code element takes up the full width of its container */
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue