Commit

Author:

Hash:

Timestamp:

+6 -8 +/-2 browse

Kevin Schoon [me@kevinschoon.com]

fc9636c9c59516e7df26590ecd4647a1bda733b4

Sat, 17 May 2025 11:55:58 +0000 (1 month ago)

fix borders on raised sections
1diff --git a/ayllu/templates/repo.html b/ayllu/templates/repo.html
2index e0986aa..471f095 100644
3--- a/ayllu/templates/repo.html
4+++ b/ayllu/templates/repo.html
5 @@ -58,7 +58,7 @@
6 </section>
7 {% call macros::selectable_text("ref", refname) %}
8 </section>
9- <div class="scrollable">
10+ <section class="scrollable lower-half">
11 <table class="data-table">
12 <thead>
13 <tr>
14 @@ -92,7 +92,7 @@
15 </tbody>
16 </table>
17 </section>
18- </div>
19+ </section>
20 {% if let Some(readme) = readme %}
21 <section class="raised">
22 {% if let Some(file_name) = rendered_file_name %}
23 diff --git a/ayllu/themes/base.css b/ayllu/themes/base.css
24index 1a6f2c6..6c61e28 100644
25--- a/ayllu/themes/base.css
26+++ b/ayllu/themes/base.css
27 @@ -79,10 +79,7 @@ header {
28 section.info-bar {
29 margin-top: 8px;
30 border-radius: revert;
31- border-top: solid 2px;
32- border-left: solid 2px;
33- border-right: solid 2px;
34- border-bottom: none;
35+ border: 2px outset;
36 padding: 5px;
37 font-weight: bold;
38 font-size: large;
39 @@ -299,13 +296,14 @@ footer.rss {
40
41 section.lower-half {
42 overflow: scroll;
43- border: solid 2px;
44+ border-right: solid 2px;
45+ border-left: solid 2px;
46+ border-bottom: solid 2px;
47 border-radius: unset;
48 }
49
50 table.data-table {
51 border-collapse: collapse;
52- border: solid 2px;
53 background: none;
54 white-space: nowrap;
55 font-family: monospace;