From 11200f3d75f7cdf1d0e602555a0b347031db64fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Mon, 14 May 2018 10:20:14 -0700 Subject: [PATCH] fixing playground responsive bahavior Summary: The error message saying the playground is only available on bigger screens also was shown on big screens. Reviewed By: emilsjolander Differential Revision: D7989482 fbshipit-source-id: f444ca2d6608b868c4ff4d38fa6798d80b57c047 --- website/src/pages/playground/index.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/website/src/pages/playground/index.css b/website/src/pages/playground/index.css index 138ca648..b4f3e843 100644 --- a/website/src/pages/playground/index.css +++ b/website/src/pages/playground/index.css @@ -3,11 +3,13 @@ flex: 1; } -.playground-page .error-container { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; +@media (max-width: 991px) { + .playground-page .error-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + } } .playground-page .error-text {