From ed24813f2c417e56afe07557b8e66a9345c01b97 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Wed, 23 Jun 2021 23:13:06 +0100 Subject: [PATCH] Small fixes --- git-tutorial.css | 4 ++-- index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/git-tutorial.css b/git-tutorial.css index 8c89586..4fe79f8 100644 --- a/git-tutorial.css +++ b/git-tutorial.css @@ -38,7 +38,7 @@ article#git-tutorial table, #git-tutorial pre.log, #git-tutorial .graph-view { w @media (max-width: 63em) { #git-tutorial td, #git-tutorial th { padding-left: 0; padding-right: 0; } - #git-tutorial td.cell-contents, #git-tutorial th.cell-contents { width: 30em; } + #git-tutorial td.cell-contents, #git-tutorial th.cell-contents { width: 30.6em; } article#git-tutorial { left:0.5em; right:6em; max-width: 63rem; } article#git-tutorial table, #git-tutorial pre.log, #git-tutorial .graph-view { width: 100%; margin-left: auto; } #git-tutorial #toc { right: -12em; } @@ -58,7 +58,7 @@ article#git-tutorial table, #git-tutorial pre.log, #git-tutorial .graph-view { w #git-tutorial .hex-prefix { color: lightgrey; } #git-tutorial .hex { color: brown; } #git-tutorial .hex-hash { display: block; width: max-content; } -#git-tutorial .hex-hash, #git-tutorial .plain-hash-or-ref { border: thin solid brown; } +#git-tutorial .hex-hash, #git-tutorial .plain-hash-or-ref { border: thin solid brown; padding-left: 0.3em; padding-right: 0.3em; } #git-tutorial .plain-hash-or-ref { display: inline-block; margin: 0.5px 0; padding-top: 0.5em; padding-bottom: 0.5em; } /* On mobile devices (and devices with a coarse pointing device like a wiimote), the single-line hashes are too small to be clicked. The default of 0.5em should help with that, but if we can detect a coarse device or lack of hover capability, we increase diff --git a/index.html b/index.html index 80ef2b8..22c1699 100644 --- a/index.html +++ b/index.html @@ -611,7 +611,7 @@ references, we need to get rid of the newline first.