diff options
| author | Nikhil M Warrier <nikhilmwarrier@disroot.org> | 2026-09-05 22:26:59 +0530 |
|---|---|---|
| committer | Nikhil M Warrier <nikhilmwarrier@disroot.org> | 2026-09-05 22:26:59 +0530 |
| commit | b612567915cb61655360e07c597997cd16edad53 (patch) | |
| tree | 0fbbda624141b322f923526450f0b640f35d6adf | |
| parent | 1e12432ba12b5056904a39115cc461c0de51f51d (diff) | |
Move README preview below the file table
Add breathing room and cap the reading width
| -rw-r--r-- | assets/index.css | 3 | ||||
| -rw-r--r-- | assets/index.html | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/index.css b/assets/index.css index 6862df0..5208b9d 100644 --- a/assets/index.css +++ b/assets/index.css @@ -184,7 +184,7 @@ svg { } .readme { - margin: 1em 0; + margin: 2em 1em; padding: 1em 1.5em; background-color: var(--bg-tertiary); border: 1px solid var(--border-primary); @@ -194,6 +194,7 @@ svg { line-height: 1.6; overflow-wrap: break-word; animation: fade-in 200ms ease-out; + max-width: 80ch; } .readme> :first-child { diff --git a/assets/index.html b/assets/index.html index 6d97627..138a243 100644 --- a/assets/index.html +++ b/assets/index.html @@ -118,7 +118,6 @@ <div class="main"> <div class="index-page hidden"> <div class="empty-folder hidden"></div> - <div class="readme hidden"></div> <table class="uploaders-table hidden"> <thead> <tr> @@ -131,6 +130,7 @@ <div class="paths-header"></div> <div class="paths-body"></div> </div> + <div class="readme hidden"></div> </div> <div class="editor-page hidden"> <div class="not-editable hidden"></div> |
