diff --git a/index.html b/index.html index 32ba231..719ebed 100644 --- a/index.html +++ b/index.html @@ -688,6 +688,7 @@

Enterprise

} onPlansScroll() pricing_tabs.addEventListener('scroll', onPlansScroll) + window.addEventListener('resize', onPlansScroll) diff --git a/plans.css b/plans.css index 65ea657..291f922 100644 --- a/plans.css +++ b/plans.css @@ -541,6 +541,15 @@ a.neworg-button:active { .current-plan-button { height: 52px; } + + #plans-left-button, + #plans-right-button { + display: block; + } + #plans-left-button._hidden, + #plans-right-button._hidden{ + display: none; + } } @media (max-width: 940px) { @@ -570,16 +579,6 @@ a.neworg-button:active { margin-bottom: 12px; font-size: 22px; } - - #plans-left-button, - #plans-right-button { - display: block; - } - #plans-left-button._hidden, - #plans-right-button._hidden{ - display: none; - } - } @media (max-width: 700px) {