all repos — elgit @ 0e6eaa211357cd5b9de1762b1cb49e47d35580dc

fork of legit: web frontend for git, written in go

css: single column index on small screens

commit

0e6eaa211357cd5b9de1762b1cb49e47d35580dc

parent

d0d636aa89bf194185abf01e05b190386d0e8b23

1 file changed, 12 insertions(+), 9 deletions(-)

changed files
M static/style.cssstatic/style.css
@@ -41,7 +41,7 @@ padding: 0;
line-height: 160%; } -main h1, h2, h3, .small-heading { +main h1, h2, h3, strong { font-family: var(--display-font); font-weight: 500; }
@@ -97,26 +97,20 @@ border-bottom: 1.5px solid var(--gray);
} .index { + padding-top: 2em; display: grid; grid-template-columns: 6em 1fr minmax(0, 7em); grid-row-gap: 0.5em; min-width: 0; } -.index-headings { - display: grid; - grid-template-columns: 6em 1fr minmax(0, 7em); - padding-bottom: 1.2em; - padding-top: 1.2em; - min-width: 0; -} - .clone-url { padding-top: 2rem; } .clone-url pre { color: var(--dark); + white-space: pre-wrap; } .desc {
@@ -250,6 +244,15 @@
.log { grid-template-columns: 1fr; grid-row-gap: 0em; + } + + .index { + grid-template-columns: 1fr; + grid-row-gap: 0em; + } + + .index-name:not(:first-child) { + padding-top: 1.5rem; } .commit-info:not(:last-child) {