diff --git a/public/options/options.css b/public/options/options.css index 542634f5..588d6127 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -321,7 +321,8 @@ input[type='number'] { cursor: default; } -tr.disabled { +/* To hide everything except upsell button */ +.disabled td:not(.skipOption), .disabled td.skipOption > :not(.upsellButton) { opacity: 0.3; } diff --git a/src/components/options/CategorySkipOptionsComponent.tsx b/src/components/options/CategorySkipOptionsComponent.tsx index 20c12309..e1180e4b 100644 --- a/src/components/options/CategorySkipOptionsComponent.tsx +++ b/src/components/options/CategorySkipOptionsComponent.tsx @@ -106,7 +106,7 @@ class CategorySkipOptionsComponent extends React.Component chrome.tabs.create({url: chrome.runtime.getURL('upsell/index.html')})}/> } - + {this.props.category !== "chapter" &&