Skip to content

Commit 4707684

Browse files
authored
fix: make sidebar fixed when scrolling settings page (#1403)
1 parent 2005138 commit 4707684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/users/settings/settings.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<main class="max-w-5xl mx-auto pt-10 pb-12 px-4 lg:pb-16">
1616
<div class="lg:grid lg:gap-x-5 lg:grid-cols-4">
17-
<div class="sm:px-6 lg:px-0 lg:col-span-1">
17+
<div class="sm:px-6 lg:px-0 lg:col-span-1 lg:sticky lg:top-0 lg:self-start">
1818
<!-- This example requires Tailwind CSS v2.0+ -->
1919
<nav class="space-y-1" aria-label="Sidebar">
2020
<a href="#profile_settings_heading" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 flex items-center px-3 py-2 text-sm font-medium rounded-md">

0 commit comments

Comments
 (0)