From 4484a986e43b5e840b8469658889e6cf30a032ec Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 17 May 2019 20:19:18 +0200 Subject: [PATCH] fix #2777 @0:10 --- style/fluidbook.less | 9 +++++++++ style/variables.less | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/style/fluidbook.less b/style/fluidbook.less index e4a7bef3..1eac57ca 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1350,6 +1350,15 @@ html.ios body.portrait #interface { height: @bookmark-corner-size; background-size: @bookmark-corner-size @bookmark-corner-size; + .mobilefirst & { + @media @large { + @w: unit(@bookmark-corner-size*0.5, px); + width: @w; + height: @w; + background-size: @w; + } + } + &.left { left: @bookmark-corner-offset; diff --git a/style/variables.less b/style/variables.less index 6e399671..3ecc0ba8 100644 --- a/style/variables.less +++ b/style/variables.less @@ -1,4 +1,5 @@ @import "book-variables"; @font: 'Open Sans', Arial, Helvetica, sans-serif; -@small: ~"screen and (max-width: 640px)"; \ No newline at end of file +@small: ~"screen and (max-width: 640px)"; +@large: ~"screen and (min-width: 1280px)"; \ No newline at end of file -- 2.39.5