From 179f093c2609b4d453db7ed2eeed780d9c89e941 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 5 Dec 2018 23:33:04 -0800 Subject: feat: disable slider when no affiliate info --- packages/website/ts/pages/instant/config_generator.tsx | 5 +++++ packages/website/ts/pages/instant/fee_percentage_slider.tsx | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/packages/website/ts/pages/instant/config_generator.tsx b/packages/website/ts/pages/instant/config_generator.tsx index fe70ef04c..fbeeeaeaf 100644 --- a/packages/website/ts/pages/instant/config_generator.tsx +++ b/packages/website/ts/pages/instant/config_generator.tsx @@ -79,6 +79,11 @@ export class ConfigGenerator extends React.Component diff --git a/packages/website/ts/pages/instant/fee_percentage_slider.tsx b/packages/website/ts/pages/instant/fee_percentage_slider.tsx index 4c92883cb..d76cee58f 100644 --- a/packages/website/ts/pages/instant/fee_percentage_slider.tsx +++ b/packages/website/ts/pages/instant/fee_percentage_slider.tsx @@ -31,10 +31,14 @@ injectGlobal` margin-left: -60%; } } + .rc-slider-disabled { + background-color: inherit !important; + } `; export interface FeePercentageSliderProps { value: number; + isDisabled: boolean; onChange: (value: number) => void; } @@ -42,6 +46,7 @@ export class FeePercentageSlider extends React.Component Date: Thu, 6 Dec 2018 11:47:02 -0800 Subject: feat: change color of doctype tag in configurator --- packages/website/ts/pages/instant/code_demo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/ts/pages/instant/code_demo.tsx b/packages/website/ts/pages/instant/code_demo.tsx index 1bc1980e7..a3b5fe847 100644 --- a/packages/website/ts/pages/instant/code_demo.tsx +++ b/packages/website/ts/pages/instant/code_demo.tsx @@ -77,7 +77,7 @@ const customStyle = { color: '#c994ff', }, 'hljs-meta': { - color: '#aa573c', + color: '#61f5ff', }, 'hljs-built_in': { color: '#aa573c', -- cgit