From 2e84ba2079be7f6ad3fbc457daaf15d34a59782f Mon Sep 17 00:00:00 2001 From: Gunwant Jain Date: Sat, 23 Apr 2022 04:55:03 +0530 Subject: [PATCH] pretty.css: add media queries to move pastes down on phones Signed-off-by: Gunwant Jain --- static/css/pretty.css | 7 +++++++ static/js/pretty.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/static/css/pretty.css b/static/css/pretty.css index 305d343..f4d0488 100644 --- a/static/css/pretty.css +++ b/static/css/pretty.css @@ -41,3 +41,10 @@ span { .rootBox { position: relative; } + +@media (max-width: 80rem) { + #pasteContent { + margin-top: 70px + } +} + diff --git a/static/js/pretty.js b/static/js/pretty.js index ef2a86e..a2ef74e 100644 --- a/static/js/pretty.js +++ b/static/js/pretty.js @@ -30,4 +30,4 @@ function forkClicked() { function newPasteClicked() { window.location = homePage; -} \ No newline at end of file +}