Skip to content

Commit 825b125

Browse files
committed
Fix some incorrect css values
1 parent 3e4dbe0 commit 825b125

File tree

10 files changed

+5
-10
lines changed

10 files changed

+5
-10
lines changed

packages/dashboard/src/app/views/myStories/content/storyGridItem/components.js

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export const CardDetailsGrid = styled.div`
9292
`;
9393
export const CardDetailsColumn = styled.div`
9494
display: flex;
95-
align-items: space-between;
9695
flex-direction: column;
9796
align-self: flex-end;
9897
`;

packages/dashboard/src/components/table/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ export const TableRow = styled.tr`
119119
export const TableCell = styled.td`
120120
padding: ${CELL_PADDING}px;
121121
font-weight: normal;
122-
word-break: break-word;
122+
overflow-wrap: anywhere;
123+
word-break: normal;
123124
height: ${CELL_PADDING * 2 + 50}px;
124125
vertical-align: middle;
125126

packages/design-system/src/components/button/stories/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ const Container = styled.div`
6060
border: 1px solid ${(props) => props.theme.colors.fg.black};
6161
6262
display: flex;
63-
align-items: space-evenly;
6463
flex-direction: column;
6564
padding: 20px;
6665
`;

packages/story-editor/src/components/canvas/mediaCaptions/cue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Section = styled.span`
4545
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
4646
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
4747
line-height: 1.4;
48-
word-break: break-word;
48+
word-break: normal;
4949
word-wrap: break-word;
5050
overflow-wrap: break-word;
5151
`;

packages/story-editor/src/components/footer/carousel/carouselList.js

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ const PageList = styled(Reorderable).attrs({
4848
hasOverflow &&
4949
css`
5050
overflow-x: visible;
51-
overflow-x: overlay;
5251
justify-content: flex-start;
5352
`};
5453

packages/story-editor/src/components/footer/gridview/gridView.js

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const TopRow = styled.header`
7676
const Wrapper = styled(Reorderable)`
7777
position: relative;
7878
overflow-y: auto;
79-
overflow-y: overlay;
8079
overflow-x: hidden;
8180
flex-grow: 1;
8281
display: flex;

packages/story-editor/src/components/panels/design/alignment/alignment.js

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const ElementRow = styled.div`
4646
align-items: center;
4747
padding: 16px;
4848
overflow: auto;
49-
overflow: overlay;
5049
`;
5150

5251
const alignmentButtonIds = [

packages/story-editor/src/components/panels/panel/shared/title.js

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ const Heading = styled.span`
6262
color: ${({ theme, isCollapsed }) =>
6363
isCollapsed ? theme.colors.fg.secondary : theme.colors.fg.primary};
6464
display: flex;
65-
align-items: space-between;
6665
${({ theme }) =>
6766
themeHelpers.expandPresetStyles({
6867
preset: theme.typography.presets.headline[TextSize.XXSmall],

packages/story-editor/src/components/sidebar/sidebarContent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { getTabId } from './utils';
2626

2727
const SidebarPane = styled.div.attrs({ role: 'tabpanel' })`
2828
height: 100%;
29-
overflow: overlay;
29+
overflow: auto;
3030
`;
3131

3232
const SidebarPanes = styled.section`

packages/story-editor/src/components/thumbnail/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const Background = styled.div(
147147
css`
148148
/* Specific overrides for PagePreview that is borrowed for checklist's thumbnails */
149149
.pagePreviewOverrides {
150-
border-color: none;
150+
border-color: transparent;
151151
152152
&::after {
153153
content: none;

0 commit comments

Comments
 (0)