fixed sidebar sticky

This commit is contained in:
unknown committed 2020-11-18 10:30:55 +08:00
commit 7c0303d22a
1 file changed
+1
+1
View File
@@ -251,6 +251,7 @@
} }
</style> </style>
</head> </head>
<body class="text-gray-900 antialiased font-body"> <body class="text-gray-900 antialiased font-body">
<nav class="sticky top-0 absolute z-50 w-full flex flex-wrap items-center justify-between py-1 navbar-expand-lg bg-indigo-900"> <nav class="sticky top-0 absolute z-50 w-full flex flex-wrap items-center justify-between py-1 navbar-expand-lg bg-indigo-900">
<div class="container px-4 sm:pb-2 sm:px-16 md:px-10 lg:px-12 xl:pl-24 xl:pr-20 xxl:pl-34 xxl:pr-25 mx-auto mt-1 flex flex-wrap items-center justify-between"> <div class="container px-4 sm:pb-2 sm:px-16 md:px-10 lg:px-12 xl:pl-24 xl:pr-20 xxl:pl-34 xxl:pr-25 mx-auto mt-1 flex flex-wrap items-center justify-between">