Skip to content

Commit 7dc239b

Browse files
committed
fix styles
1 parent 1751cda commit 7dc239b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hwproj.front/src/components/Courses/CourseExperimental.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
101101
// Функция прокрутки вверх
102102
const scrollToTop = () => {
103103
window.scrollTo({
104-
top: 90,
104+
top: 110,
105105
behavior: 'instant'
106106
});
107107
};
@@ -539,14 +539,14 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
539539
{/* Кнопка "Наверх" для мобильных устройств */}
540540
<Zoom in={showScrollButton && isMobile}>
541541
<Fab
542-
size="small"
542+
size="medium"
543543
color="primary"
544544
aria-label="up"
545545
onClick={scrollToTop}
546546
sx={{
547547
position: 'fixed',
548-
bottom: 25,
549-
right: 25,
548+
bottom: 40,
549+
right: 40,
550550
display: { xs: 'flex', md: 'none' },
551551
zIndex: 1000
552552
}}

0 commit comments

Comments
 (0)