Skip to content

Commit

Permalink
Prettier and stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Mar 6, 2024
1 parent dd53ee8 commit f6182d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/components/templates/carousel/HorizontalView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ const View = (props) => {
}, [activeTab]);
React.useEffect(() => {
if (!slider.current?.innerSlider?.list) return;
let inaccessibleElements = slider.current.innerSlider.list.querySelectorAll(
'.slick-slide',
);
let inaccessibleElements =
slider.current.innerSlider.list.querySelectorAll('.slick-slide');
for (let element of inaccessibleElements) {
element.setAttribute('tabindex', '0');
element.setAttribute('aria-hidden', 'false');
Expand Down
8 changes: 5 additions & 3 deletions src/less/carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@
left: 0;
width: 100%;
height: 2px;
background-color: @lightColor;
border-radius: 2px;
background-color: @lightColor;
opacity: 1;
transform: translateY(-50%);
}
Expand All @@ -180,8 +180,8 @@
width: @dotsSize;
height: @dotsSize;
padding: 0;
background-color: @lightColor;
border-radius: 100%;
background-color: @lightColor;
color: @lightColor;

&::before {
Expand Down Expand Up @@ -304,7 +304,9 @@
}

@media only screen and (max-width: @largestMobileScreen + @largestMobileScreenOffset) {
body:not(.has-toolbar):not(.has-sidebar):not(.has-toolbar-collapsed):not(.has-sidebar-collapsed),
body:not(.has-toolbar):not(.has-sidebar):not(.has-toolbar-collapsed):not(
.has-sidebar-collapsed
),
body.has-toolbar-collapsed:not(.has-sidebar):not(.has-sidebar-collapsed),
body.has-toolbar:not(.has-sidebar):not(.has-sidebar-collapsed) {
.tabs-block {
Expand Down

0 comments on commit f6182d1

Please sign in to comment.