From 6e951a92c992f03a5beb2196ecad1088b0439566 Mon Sep 17 00:00:00 2001 From: Conrad Zelck <git@simpel.cc> Date: Tue, 28 Sep 2021 01:05:06 +0200 Subject: [PATCH] fix: fit table width on mobile devices Although google chrome inspector show fitted table on mobile device iphone itself shows a much to wide table. Safari inspector did show that too. I had to inherit table width on mobile devices to fit. Signed-off-by: Conrad Zelck <git@simpel.cc> --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/style.css b/style.css index af009f0..4d7ddad 100644 --- a/style.css +++ b/style.css @@ -12,6 +12,10 @@ body { body { font-size: 3vmin; } + + table { + width: inherit !important; + } } /* iPhone landscape only */ @@ -19,6 +23,10 @@ body { body { font-size: 4vmin; } + + table { + width: inherit !important; + } } /* iPhone portait only */ @@ -26,6 +34,10 @@ body { body { font-size: 4vmin; } + + table { + width: inherit !important; + } } a { -- GitLab