Skip to content

Commit

Permalink
Merge pull request #875 from appwrite/fix-docs-homepage-bg
Browse files Browse the repository at this point in the history
- Style fix for main docs bg strip
  • Loading branch information
TorstenDittmann authored Apr 12, 2024
2 parents 99394c2 + 42178a7 commit b8d0d52
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/routes/docs/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@

<Docs variant="default">
<Sidebar />
<div class="u-position-absolute u-inset-inline-end-0 web-u-opacity-40-mobile" style="">
<enhanced:img src="./blur-1.png" alt="" />
</div>

<main
class="web-main-section u-position-relative web-u-overflow-hidden-break1-to-break3"
Expand Down Expand Up @@ -486,12 +483,12 @@
.bg-overlay {
position: absolute;
background: linear-gradient(to right, #ffffff00 0%, #ffffff00 10%, #ffffff);
background: linear-gradient(to right, #ffffff00 0%, #ffffff00 400px, #ffffff);
top: 0;
right: 10rem;
translate: 100%;
width: 25rem;
width: 100rem;
height: 100%;
content: '';
z-index: 9999;
Expand All @@ -505,6 +502,6 @@
}
:global(.theme-dark) .bg-overlay {
background: linear-gradient(to right, #19191c00 0%, #19191c00 10%, #19191c);
background: linear-gradient(to right, #19191c00 0%, #19191c 400px, #19191c);
}
</style>

0 comments on commit b8d0d52

Please sign in to comment.