From 20d906e6bf776f174f04928c2c60aab63bb8f578 Mon Sep 17 00:00:00 2001 From: Graham Pengelly Date: Wed, 8 Feb 2017 18:18:55 +0000 Subject: [PATCH] Fix draft watermark for short content Some content is clipping the draft background watermark. This commit adds `background-size: contain` to avoid this. --- app/assets/stylesheets/helpers/_draft.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/helpers/_draft.scss b/app/assets/stylesheets/helpers/_draft.scss index a31229e5f..ff610c89d 100644 --- a/app/assets/stylesheets/helpers/_draft.scss +++ b/app/assets/stylesheets/helpers/_draft.scss @@ -2,4 +2,5 @@ background-image: image-url("draft-watermark.png"); background-repeat: repeat-y; background-position: 50% 0; + background-size: contain; }