Figured it out;

Only opaque or frosted elements should cast shadow, othervise only edge highlight should be used
This commit is contained in:
daudix
2024-02-16 01:57:09 +03:00
parent 791475cf2b
commit 28992f5d8d
3 changed files with 6 additions and 6 deletions

View File

@ -214,13 +214,13 @@ code:not(pre code) {
}
pre {
line-height: normal; // Unset line height
padding: 1rem;
margin: 1rem 0 1rem;
border-radius: var(--rounded-corner);
max-width: 100vw;
box-shadow: var(--edge-highlight), var(--shadow);
line-height: normal; // Unset line height
margin: 1rem 0 1rem;
max-width: 100vw;
overflow: auto;
padding: 1rem;
table td {
padding: 0;

View File

@ -2,7 +2,7 @@
margin: 1rem 0 1rem;
padding: 1rem 1rem 0.5rem 1rem;
border-radius: var(--rounded-corner);
box-shadow: var(--edge-highlight), var(--shadow);
box-shadow: var(--edge-highlight);
* {
margin: 0;