Web:Common:Fix margin for SectionFooter.
This commit is contained in:
parent
6f0f0ef2a5
commit
01693db8ba
@ -1,8 +1,14 @@
|
||||
import React from "react";
|
||||
import styled from "styled-components";
|
||||
import { smallTablet } from "@docspace/components/utils/device";
|
||||
import { isMobileOnly } from "react-device-detect";
|
||||
|
||||
const StyledSectionFooter = styled.div`
|
||||
margin-top: 40px;
|
||||
|
||||
@media ${smallTablet}, ${isMobileOnly} {
|
||||
margin-top: 32px;
|
||||
}
|
||||
`;
|
||||
|
||||
const SectionFooter = ({ children }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user