mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: card thumbnails now always show border. (#11638)
Co-Authored-By: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -30,8 +30,9 @@ const ImageContainer = styled.div<ImageContainerProps>`
|
||||
background-size: cover;
|
||||
background-position: center ${({ position }) => position};
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: calc(100% - 1px);
|
||||
width: calc(100% - 2px);
|
||||
margin: 1px 1px 0 1px;
|
||||
`;
|
||||
interface ImageLoaderProps
|
||||
extends React.DetailedHTMLProps<
|
||||
|
||||
@@ -80,6 +80,7 @@ const StyledCard = styled(Card)`
|
||||
|
||||
const Cover = styled.div`
|
||||
height: 264px;
|
||||
border-bottom: 1px solid ${({ theme }) => theme.colors.grayscale.light2};
|
||||
overflow: hidden;
|
||||
|
||||
.cover-footer {
|
||||
|
||||
Reference in New Issue
Block a user