From: Erik Faye-Lund Date: Wed, 17 Apr 2019 12:52:41 +0000 (+0200) Subject: docs: do not hard-code header-height X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8194d3887eae3f928329d614b650acb84e06f605;p=mesa.git docs: do not hard-code header-height It's generally nicer to do this in terms of em units, as that scales better with text-sizes, if we ever decide to change them. The result is slightly larger than before, but only by a couple of pixels. Signed-off-by: Erik Faye-Lund Reviewed-by: Eric Engestrom --- diff --git a/docs/mesa.css b/docs/mesa.css index d625f618e4c..0d0b9156fda 100644 --- a/docs/mesa.css +++ b/docs/mesa.css @@ -43,7 +43,7 @@ iframe { .header { background: url('gears.png') 15px no-repeat, black url('gears.png') right no-repeat; - height: 80px; + padding: 2em; display: flex; text-align: center; }