From f236d35974756aa1e78bf81c70af489444c2ee0d Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 2 Dec 2018 14:39:23 +0100 Subject: [PATCH] logs-content, story-content: Fixed options being too far left in chapter/post on mobile. --- marko/page/logs-content/components/post/style.less | 4 ++++ marko/page/story-content/components/chapter/style.less | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/marko/page/logs-content/components/post/style.less b/marko/page/logs-content/components/post/style.less index f056020..cb41ca1 100644 --- a/marko/page/logs-content/components/post/style.less +++ b/marko/page/logs-content/components/post/style.less @@ -26,6 +26,10 @@ div.post { a:hover { opacity: 1; } + + @media screen and (max-width: 700px) { + width: calc(100% - 6.5ch); + } } div.post-body { diff --git a/marko/page/story-content/components/chapter/style.less b/marko/page/story-content/components/chapter/style.less index a245502..dd658f6 100644 --- a/marko/page/story-content/components/chapter/style.less +++ b/marko/page/story-content/components/chapter/style.less @@ -40,6 +40,10 @@ a:hover { opacity: 1; } + + @media screen and (max-width: 700px) { + width: calc(100% - 6.5ch); + } } div.chapter-content {