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