Skip to content

Commit

Permalink
reduce auto-scroll width on small screen devices
Browse files Browse the repository at this point in the history
  • Loading branch information
gurjit03 committed Feb 20, 2023
1 parent 1543b1c commit c6f7ce9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class FloatingActions extends React.PureComponent<IFloatingActionsProps,
{isShowFullScreen &&
<div
style={lastIconStyles}
className="floatingActionsControl">
className="floatingActionsControl hide-tablet">
<FullScreen />
</div>}
{isShowScrollToTop &&
Expand All @@ -72,4 +72,4 @@ export class FloatingActions extends React.PureComponent<IFloatingActionsProps,
</div>
)
}
}
}
9 changes: 9 additions & 0 deletions src/scss/_auto-scroll-control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@
height: 30px;
width: 30px;
}

@media screen and (max-width: 700px) {
height: 35px;
width: 35px;
> svg {

This comment has been minimized.

Copy link
@MySmilingTurban

MySmilingTurban Mar 8, 2023

Contributor

@gurjit03
empty line required before rule

src/scss/_auto-scroll-control.scss
 80:7  ✖  Expected empty line before rule  rule-empty-line-before
height: 12px;
width: 12px;
}
}
}

&Speed {
Expand Down

0 comments on commit c6f7ce9

Please sign in to comment.