website responsive

This commit is contained in:
Zsolt Ero
2024-01-31 18:29:47 +01:00
parent 7f9c31f600
commit 851019e562

View File

@@ -44,7 +44,7 @@ pricingSlider.on('update', function (values, _) {
tooltip.classList.remove('first')
tooltip.classList.remove('last')
if (screen.width < 500) {
if (document.documentElement.clientWidth < 500) {
if (value === 0) {
tooltip.classList.add('first')
}