From adba73ba3c3391b2f684fa6fa6f2183b15529b8c Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Thu, 2 May 2019 10:50:26 -0700 Subject: [PATCH] Increase top padding for code buttons Summary: priteshrnandgaonkar pointed out that they sometimes overlap with the text. Reviewed By: jknoxville Differential Revision: D15182356 fbshipit-source-id: def39676d5dcce85aa0b41760cec0ec5cfb9398c --- website/static/css/code-blocks-buttons.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/static/css/code-blocks-buttons.css b/website/static/css/code-blocks-buttons.css index 3efb38878..1da230fff 100644 --- a/website/static/css/code-blocks-buttons.css +++ b/website/static/css/code-blocks-buttons.css @@ -10,6 +10,10 @@ pre { position: relative; } +.hljs { + padding: 2rem 1.5rem; +} + pre .btnIcon { position: absolute; top: 4px;