Skip to content

Commit dfec755

Browse files
authored
fix: fullscreen icon hide (#141)
1 parent 8c92676 commit dfec755

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/blocks/Slider/Arrow/Arrow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export interface ArrowProps {
1717
}
1818

1919
const Arrow = ({type, handleClick, className, size = 16}: ArrowProps & ClassNameProps) => (
20-
<div className={b({type}, className)} onClick={() => handleClick && handleClick(type)}>
21-
<button className={b('button')}>
20+
<div className={b({type}, className)}>
21+
<button className={b('button')} onClick={() => handleClick && handleClick(type)}>
2222
<div className={b('icon-wrapper')}>
2323
<ToggleArrow
2424
size={size}

src/blocks/Slider/Slider.scss

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,9 @@ $block: '.#{$ns}SliderBlock';
190190

191191
.slick-arrow {
192192
display: none;
193-
height: 100%;
194193
width: 64px;
195-
top: 0;
196-
197-
button {
198-
top: 50%;
199-
transform: translate(0, -50%);
200-
}
194+
top: 50%;
195+
transform: translate(0, -50%);
201196
}
202197

203198
.slick-prev {

0 commit comments

Comments
 (0)