Skip to content

Commit 6d62488

Browse files
committed
outer border radius
1 parent dde900c commit 6d62488

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/routes/(app)/[username]/+layout.svelte

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
{/each}
155155
</ul>
156156
</div>
157-
<div class="px-2 py-4">
157+
<div id="settings-panel" class="px-2 py-4">
158158
{@render settings()}
159159
</div>
160160
</aside>
@@ -298,6 +298,22 @@
298298
.scrollbar-thin {
299299
scrollbar-width: thin;
300300
}
301+
#settings-panel {
302+
position: relative;
303+
--radius: 1rem;
304+
--bg-col: #f9a8d4;
305+
--bg-opacity: 10%;
306+
&::after {
307+
content: '';
308+
position: absolute;
309+
top: 0;
310+
right: 0;
311+
height: var(--radius);
312+
width: var(--radius);
313+
background: radial-gradient(circle at 0% 100%, transparent var(--radius), var(--bg-col) var(--radius));
314+
opacity: var(--bg-opacity);
315+
}
316+
}
301317
#conjoin {
302318
grid-template-columns: 1fr;
303319
@media (min-width: 800px) {

0 commit comments

Comments
 (0)