From 35e20314f0854452c9646ae26e6004f27762b570 Mon Sep 17 00:00:00 2001 From: Alex Wolfe Date: Thu, 5 Mar 2015 06:20:23 -0800 Subject: [PATCH] mobile fixes --- public/resources/css/module/_buttons.scss | 7 +++++-- public/resources/css/module/_code.scss | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/resources/css/module/_buttons.scss b/public/resources/css/module/_buttons.scss index d165b325ba..acca95c4fc 100644 --- a/public/resources/css/module/_buttons.scss +++ b/public/resources/css/module/_buttons.scss @@ -55,7 +55,10 @@ background: $regal url('/resources/images/logos/inverse/shield/22.png') 24px 13px no-repeat; color: rgba($snow, .87); padding-left: 54px; + + @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { + background: $regal url('/resources/images/logos/inverse/shield/22@2x.png') 24px 13px no-repeat; + background-size: 22px 22px; + } } - - } \ No newline at end of file diff --git a/public/resources/css/module/_code.scss b/public/resources/css/module/_code.scss index 9bcfc3c662..738348186c 100644 --- a/public/resources/css/module/_code.scss +++ b/public/resources/css/module/_code.scss @@ -6,6 +6,7 @@ .cp_embed_iframe { overflow: hidden; + width: 240px !important; }