fix: поправил мобильную вёрстку на экране списка курсов
All checks were successful
platform/bro/pipeline/head This commit looks good

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-08-12 10:59:09 +03:00
parent e21b41f9ca
commit ced1f85a7f

View File

@ -288,7 +288,7 @@ const CourseCard = ({
</CardBody> </CardBody>
)} )}
<CardFooter> <CardFooter>
<ButtonGroup spacing="4" mt="16px"> <ButtonGroup spacing={[0, 4]} mt="16px" flexDirection={['column', 'row']}>
<Tooltip label="На страницу с лекциями" fontSize="12px" top="16px"> <Tooltip label="На страницу с лекциями" fontSize="12px" top="16px">
<Button <Button
leftIcon={<LinkIcon />} leftIcon={<LinkIcon />}
@ -302,6 +302,7 @@ const CourseCard = ({
<Tooltip label="Детали" fontSize="12px" top="16px"> <Tooltip label="Детали" fontSize="12px" top="16px">
<Button <Button
colorScheme="blue" colorScheme="blue"
mt={["16px", 0]}
variant="outline" variant="outline"
leftIcon={isOpened ? <ArrowUpIcon /> : <ArrowDownIcon />} leftIcon={isOpened ? <ArrowUpIcon /> : <ArrowDownIcon />}
loadingText="Загрузка" loadingText="Загрузка"