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
This commit is contained in:
Pascal Hartig
2019-05-02 10:50:26 -07:00
committed by Facebook Github Bot
parent 7dae5771d9
commit adba73ba3c

View File

@@ -10,6 +10,10 @@ pre {
position: relative; position: relative;
} }
.hljs {
padding: 2rem 1.5rem;
}
pre .btnIcon { pre .btnIcon {
position: absolute; position: absolute;
top: 4px; top: 4px;