aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-05 04:49:37 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 18:58:38 +0800
commit3d69063bf675587433f9931bd639adf79d19611f (patch)
tree85cbae0aa132d56eaa4e8ad50a8cfa02e9ca4310 /packages/website/ts
parent4e03c754e7353b2db71f6da17d75bda4e57ba467 (diff)
downloaddexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.tar
dexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.tar.gz
dexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.tar.bz2
dexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.tar.lz
dexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.tar.xz
dexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.tar.zst
dexon-sol-tools-3d69063bf675587433f9931bd639adf79d19611f.zip
hack: make min-height of line-number container 98% to prevent scrollbar from appearing in code demo
Diffstat (limited to 'packages/website/ts')
-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;