From b9615a701b064933c470e929df799e85cc8cc1ec Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 17 Jun 2016 13:18:08 -0700 Subject: [PATCH] Fix width on Phame blog header image on mobile Summary: This should get locked to 100% of viewport. Test Plan: Really wide image on a mobile screen. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16144 --- resources/celerity/map.php | 4 ++-- webroot/rsrc/css/application/phame/phame.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index af7a81d4c9..a64ceb83e1 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -81,7 +81,7 @@ return array( 'rsrc/css/application/owners/owners-path-editor.css' => '2f00933b', 'rsrc/css/application/paste/paste.css' => '1898e534', 'rsrc/css/application/people/people-profile.css' => '2473d929', - 'rsrc/css/application/phame/phame.css' => '3ef4a7e5', + 'rsrc/css/application/phame/phame.css' => 'dfdaec0e', 'rsrc/css/application/pholio/pholio-edit.css' => '07676f51', 'rsrc/css/application/pholio/pholio-inline-comments.css' => '8e545e49', 'rsrc/css/application/pholio/pholio.css' => 'ca89d380', @@ -808,7 +808,7 @@ return array( 'phabricator-uiexample-reactor-sendclass' => '1def2711', 'phabricator-uiexample-reactor-sendproperties' => 'b1f0ccee', 'phabricator-zindex-css' => '5b6fcf3f', - 'phame-css' => '3ef4a7e5', + 'phame-css' => 'dfdaec0e', 'pholio-css' => 'ca89d380', 'pholio-edit-css' => '07676f51', 'pholio-inline-comments-css' => '8e545e49', diff --git a/webroot/rsrc/css/application/phame/phame.css b/webroot/rsrc/css/application/phame/phame.css index b8a1d5e6e7..0f226f370d 100644 --- a/webroot/rsrc/css/application/phame/phame.css +++ b/webroot/rsrc/css/application/phame/phame.css @@ -258,5 +258,6 @@ .phame-header-image { max-height: 320px; + max-width: 100%; margin: 0 auto; }