From 8f78fa2573028308afabcc7a0f5a9eb16c5a62f4 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 27 Jan 2023 14:00:24 +0200 Subject: [PATCH] Slider: Tabs with slider fix margin-left --- less/slider.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/less/slider.less b/less/slider.less index 99383ea..e8776f5 100644 --- a/less/slider.less +++ b/less/slider.less @@ -2,12 +2,16 @@ .uk-slider-container-tabs:extend(.uk-slider-container) { position: relative; + & .uk-tab { + margin-left: -@tab-margin-horizontal; + } + &::before { content: ""; position: absolute; bottom: 0; - left: @tab-margin-horizontal; - right: @tab-margin-horizontal; + left: 0; + right: 0; border-bottom: @tab-border-width solid @tab-border; } }