aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-05 04:49:37 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-12-05 04:49:37 +0800
commit3e4b77757e3db5e79fc589475170d49a90c8375e (patch)
treea68edcba7326d5cedf7feb4607eed51dc5f4a934 /packages
parent110d05f6457d2286c3a6d455d17745b1c8a2e0b4 (diff)
downloaddexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.tar
dexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.tar.gz
dexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.tar.bz2
dexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.tar.lz
dexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.tar.xz
dexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.tar.zst
dexon-sol-tools-3e4b77757e3db5e79fc589475170d49a90c8375e.zip
hack: make min-height of line-number container 98% to prevent scrollbar from appearing in code demo
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/pages/instant/code_demo.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/pages/instant/code_demo.tsx b/packages/website/ts/pages/instant/code_demo.tsx
index e57e39dff..4fe1928f5 100644
--- a/packages/website/ts/pages/instant/code_demo.tsx
+++ b/packages/website/ts/pages/instant/code_demo.tsx
@@ -20,7 +20,7 @@ const CustomPre = styled.pre`
code:first-of-type {
background-color: #2a2a2a !important;
color: #999;
- min-height: 100%;
+ min-height: 98%;
text-align: center;
padding-right: 5px !important;
padding-left: 5px;