Skip to content

Commit bd997e3

Browse files
committed
fix(modal): set footer action to not wrap by default
1 parent 28076b2 commit bd997e3

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

app/scripts/eslint/i18n-usage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function getMemberKey(node: TSESTree.MemberExpression) {
5151

5252
// strings['title']
5353
if (node.computed && node.property?.type === "Literal" && typeof node.property.value === "string") {
54-
node.property.value;
54+
return node.property.value;
5555
}
5656

5757
return undefined;

app/src/views/AccountDetails/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ export function Component() {
218218
withPadding
219219
withDarkBackground
220220
spacing="lg"
221+
empty={isNotDefined(montandonTokenResponse)
222+
|| montandonTokenResponse.results.length === 0}
221223
>
222224
<ListView
223225
layout="grid"

packages/ui/src/components/Modal/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function Modal(props: Props) {
9595
{...containerProps}
9696
withPadding
9797
withoutWrapInHeader
98+
withoutWrapInFooter
9899
className={_cs(styles.modal, className)}
99100
withContentOverflow
100101
headerActions={(!withoutCloseButton || headerActions) ? (

packages/ui/src/components/SelectInputContainer/styles.module.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
.popup {
2+
display: flex;
3+
flex-direction: column;
24
padding: var(--go-ui-spacing-sm) 0;
35

46
.list {
57
display: flex;
68
flex-direction: column;
9+
flex-grow: 1;
710
overflow: auto;
811

912
.list-item {

0 commit comments

Comments
 (0)