Merge pull request #6 from TiE23/ISSUE-003

ISSUE-003 - I'm struggling to get Babel Macros to work correctly in m…
This commit is contained in:
Kyle Geib authored and GitHub committed 2021-12-21 16:07:40 -05:00
commit 2cd683f59d
5 files changed
+7 -1

No files matched your search

@@ -14,6 +14,7 @@ export const LayoutGrid = styled.div<LayoutGridProps>`
height: calc(100% - ${({ headerOffset = 0 }) => headerOffset}px);
width: 100%;
`;
LayoutGrid.displayName = "LayoutGrid";
type LayoutGridItemProps = {
column: number,
@@ -27,3 +28,4 @@ export const LayoutGridItem = styled.div<LayoutGridItemProps>`
grid-row: ${({ row }) => row}
/ span ${({ rowSpan = 1 }) => rowSpan};;
`;
LayoutGridItem.displayName = "LayoutGridItem";
@@ -16,3 +16,4 @@ export const MockupBlock = styled.div<MockupBlockProps>`
background-color: ${({ color }) => color};
padding: 0.3em;
`;
MockupBlock.displayName = "MockupBlock";
+1
View File
@@ -5,3 +5,4 @@ export const Nav = styled.nav`
padding-bottom: 1rem;
padding-left: 1rem;
`;
Nav.displayName = "Nav";
@@ -11,3 +11,4 @@ export const HeaderBar = styled.header`
font-family: ${p => p.theme.fonts.accent};
font-size: 0.8em;
`;
HeaderBar.displayName = "HeaderBar";
+2 -1
View File
@@ -5,7 +5,7 @@ type FullScreenContainerProps = {
minWidth?: number,
}
export const FullScreenContainer = styled.div < FullScreenContainerProps>`
export const FullScreenContainer = styled.div<FullScreenContainerProps>`
--minHeight: ${({ minHeight = 0 }) => `${minHeight}px`};
--minWidth: ${({ minWidth = 0 }) => `${minWidth}px`};
--overflowY: ${({ minHeight }) => minHeight ? "scroll" : "hidden" };
@@ -20,3 +20,4 @@ export const FullScreenContainer = styled.div < FullScreenContainerProps>`
overflow-y: var(--overflowY);
overflow-x: var(--overflowX);
`;
FullScreenContainer.displayName = "FullScreenContainer";