Skip to content

Commit 2806dad

Browse files
philibeamatthprost
authored andcommitted
fix(plus): order summary min-width, min-height (#5554)
1 parent 3f54ff6 commit 2806dad

File tree

11 files changed

+343
-73
lines changed

11 files changed

+343
-73
lines changed

.changeset/rotten-hairs-boil.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/plus": patch
3+
---
4+
5+
Add min-width instead of fixed width on OrderSummary, Add min-height on scrollable item on OrderSummary

.storybook/storybookThemes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const generateStorybookTheme = ({
3333

3434
// Toolbar default and active colors
3535
barTextColor: theme.colors.neutral.textWeak,
36-
3736
buttonBg: theme.colors.neutral.background,
3837
buttonBorder: theme.colors.neutral.border,
3938

packages/form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ultraviolet/form",
3-
"version": "5.0.0-beta.9",
3+
"version": "5.0.0-beta.10",
44
"description": "Ultraviolet Form",
55
"homepage": "https://github.com/scaleway/ultraviolet#readme",
66
"repository": {

packages/icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ultraviolet/icons",
3-
"version": "4.1.0-beta.4",
3+
"version": "4.1.0-beta.5",
44
"description": "Ultraviolet Icons",
55
"homepage": "https://github.com/scaleway/ultraviolet#readme",
66
"repository": {

packages/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ultraviolet/nextjs",
3-
"version": "2.0.0-beta.9",
3+
"version": "2.0.0-beta.10",
44
"description": "Ultraviolet NextJS utility package",
55
"homepage": "https://github.com/scaleway/ultraviolet#readme",
66
"repository": {

packages/plus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ultraviolet/plus",
3-
"version": "2.0.0-beta.9",
3+
"version": "2.0.0-beta.10",
44
"description": "Ultraviolet Plus",
55
"homepage": "https://github.com/scaleway/ultraviolet#readme",
66
"repository": {

packages/plus/src/components/OrderSummary/ScrollableContent.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ import { OrderSummaryContext } from './Provider'
1010
import type { ItemsType, SubCategoryType } from './types'
1111

1212
const StyledNumberInputV2 = styled(NumberInput)`
13-
max-width: 12.5rem;
14-
background-color: ${({ theme }) => theme.colors.neutral.background};
13+
max-width: 12.5rem;
14+
background-color: ${({ theme }) => theme.colors.neutral.background};
1515
`
1616
const ContainerScrollable = styled(Stack)`
17-
overflow-y: scroll;
18-
padding: ${({ theme }) => theme.space[3]};
19-
height: 100%;
17+
overflow-y: scroll;
18+
padding: ${({ theme }) => theme.space[3]};
19+
min-height: 10rem;
20+
height: 100%;
2021
`
2122

2223
const DetailsStack = styled(Stack)`

0 commit comments

Comments
 (0)