provided gallery view with theming
This commit is contained in:
parent
9796e0d994
commit
6de22c4551
@ -1,11 +1,14 @@
|
||||
import styled from "styled-components";
|
||||
|
||||
import { Base } from "@docspace/components/themes";
|
||||
|
||||
const StyledGalleryThumbnail = styled.div`
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 346px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #d0d5da;
|
||||
border: ${(props) =>
|
||||
`solid 1px ${props.theme.infoPanel.gallery.borderColor}`};
|
||||
border-radius: 6px;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
|
||||
@ -15,4 +18,6 @@ const StyledGalleryThumbnail = styled.div`
|
||||
}
|
||||
`;
|
||||
|
||||
StyledGalleryThumbnail.defaultProps = { theme: Base };
|
||||
|
||||
export { StyledGalleryThumbnail };
|
||||
|
Loading…
Reference in New Issue
Block a user