Skip to content

Commit

Permalink
Fix some incorrect css values
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Jan 22, 2025
1 parent 3e4dbe0 commit 825b125
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export const CardDetailsGrid = styled.div`
`;
export const CardDetailsColumn = styled.div`
display: flex;
align-items: space-between;
flex-direction: column;
align-self: flex-end;
`;
Expand Down
3 changes: 2 additions & 1 deletion packages/dashboard/src/components/table/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export const TableRow = styled.tr`
export const TableCell = styled.td`
padding: ${CELL_PADDING}px;
font-weight: normal;
word-break: break-word;
overflow-wrap: anywhere;
word-break: normal;
height: ${CELL_PADDING * 2 + 50}px;
vertical-align: middle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const Container = styled.div`
border: 1px solid ${(props) => props.theme.colors.fg.black};
display: flex;
align-items: space-evenly;
flex-direction: column;
padding: 20px;
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Section = styled.span`
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
line-height: 1.4;
word-break: break-word;
word-break: normal;
word-wrap: break-word;
overflow-wrap: break-word;
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const PageList = styled(Reorderable).attrs({
hasOverflow &&
css`
overflow-x: visible;
overflow-x: overlay;
justify-content: flex-start;
`};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const TopRow = styled.header`
const Wrapper = styled(Reorderable)`
position: relative;
overflow-y: auto;
overflow-y: overlay;
overflow-x: hidden;
flex-grow: 1;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const ElementRow = styled.div`
align-items: center;
padding: 16px;
overflow: auto;
overflow: overlay;
`;

const alignmentButtonIds = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const Heading = styled.span`
color: ${({ theme, isCollapsed }) =>
isCollapsed ? theme.colors.fg.secondary : theme.colors.fg.primary};
display: flex;
align-items: space-between;
${({ theme }) =>
themeHelpers.expandPresetStyles({
preset: theme.typography.presets.headline[TextSize.XXSmall],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { getTabId } from './utils';

const SidebarPane = styled.div.attrs({ role: 'tabpanel' })`
height: 100%;
overflow: overlay;
overflow: auto;
`;

const SidebarPanes = styled.section`
Expand Down
2 changes: 1 addition & 1 deletion packages/story-editor/src/components/thumbnail/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const Background = styled.div(
css`
/* Specific overrides for PagePreview that is borrowed for checklist's thumbnails */
.pagePreviewOverrides {
border-color: none;
border-color: transparent;
&::after {
content: none;
Expand Down

0 comments on commit 825b125

Please sign in to comment.