mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-29 00:30:05 +02:00
Updated readme offset to use scroll-margin-top
This commit is contained in:
@@ -17,12 +17,3 @@ $fa-font-path: "./webfonts";
|
||||
|
||||
// Additional Styles
|
||||
@import "markdown.scss";
|
||||
|
||||
// Miscellaneous
|
||||
:target::before {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 80px;
|
||||
margin-top: -80px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<div id="readme" class="my-4 {{ config('readmes_first') ? 'order-first' : null }}">
|
||||
<div id="readme" class="my-4 {{ config('readmes_first') ? 'order-first' : null }}" style="scroll-margin-top: 6rem;">
|
||||
<div class="rounded-lg overflow-hidden shadow-md">
|
||||
<header class="flex items-center bg-blue-600 px-4 py-3 text-white dark:bg-purple-700">
|
||||
<i class="fas fa-book fa-lg pr-3"></i> README.md
|
||||
|
Reference in New Issue
Block a user