Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/hot-planes-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

Css styled block fixes

<!-- Changed components: DataTable, Timeline -->
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/DataTable/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ const StyledTable = styled.table<React.ComponentPropsWithoutRef<'table'>>`
display: grid;
grid-template-columns: subgrid;
grid-column: -1 /1;
}
}
`

Expand Down
2 changes: 1 addition & 1 deletion src/Timeline/Timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const TimelineBody = styled.div<SxProp>`
`

const TimelineBreak = styled.div<SxProp>`
position: relative
position: relative;
z-index: 1;
height: 24px;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/deprecated/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const LeadingVisualContainer = styled(ColoredVisualContainer)`
`

const TrailingContent = styled(ColoredVisualContainer)`
color: ${({variant, disabled}) => getItemVariant(variant, disabled).annotationColor}};
color: ${({variant, disabled}) => getItemVariant(variant, disabled).annotationColor};
margin-left: ${get('space.2')};
margin-right: 0;
width: auto;
Expand Down
2 changes: 1 addition & 1 deletion src/deprecated/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Button = styled(ButtonBase)<ButtonBaseProps & SxProp>`
color: ${get('colors.btn.text')};
background-color: ${get('colors.btn.bg')};
border: 1px solid ${get('colors.btn.border')};
box-shadow: ${get('shadows.btn.shadow')}, ${get('shadows.btn.insetShadow')}};
box-shadow: ${get('shadows.btn.shadow')}, ${get('shadows.btn.insetShadow')};

&:hover {
background-color: ${get('colors.btn.hoverBg')};
Expand Down