File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
hwproj.front/src/components/Courses Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
101
101
// Функция прокрутки вверх
102
102
const scrollToTop = ( ) => {
103
103
window . scrollTo ( {
104
- top : 90 ,
104
+ top : 110 ,
105
105
behavior : 'instant'
106
106
} ) ;
107
107
} ;
@@ -539,14 +539,14 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
539
539
{ /* Кнопка "Наверх" для мобильных устройств */ }
540
540
< Zoom in = { showScrollButton && isMobile } >
541
541
< Fab
542
- size = "small "
542
+ size = "medium "
543
543
color = "primary"
544
544
aria-label = "up"
545
545
onClick = { scrollToTop }
546
546
sx = { {
547
547
position : 'fixed' ,
548
- bottom : 25 ,
549
- right : 25 ,
548
+ bottom : 40 ,
549
+ right : 40 ,
550
550
display : { xs : 'flex' , md : 'none' } ,
551
551
zIndex : 1000
552
552
} }
You can’t perform that action at this time.
0 commit comments