Skip to content

Commit 893eaff

Browse files
committed
wip
1 parent b8d4f72 commit 893eaff

File tree

6 files changed

+29314
-21454
lines changed

6 files changed

+29314
-21454
lines changed

.github/workflows/run-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Run Tests
33
on:
44
push:
55
pull_request:
6-
types: [opened, synchronized, reopened]
6+
types: [opened, synchronize, reopened]
77
workflow_dispatch:
88

99
jobs:
@@ -18,23 +18,23 @@ jobs:
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: "20.x"
21+
node-version: '20.x'
2222

2323
- name: Install Dependencies
2424
run: npm install -g create-cosmos-app
2525

26+
- name: asset-list
27+
run: |
28+
cca --example asset-list --name asset-list
29+
cd asset-list
30+
yarn build
31+
2632
- name: vote-proposal
2733
run: |
2834
cca --example vote-proposal --name vote-proposal
2935
cd vote-proposal
3036
yarn build
3137
32-
# - name: asset-list
33-
# run: |
34-
# cca --example asset-list --name asset-list
35-
# cd asset-list
36-
# yarn build
37-
3838
# - name: ibc-transfer
3939
# run: |
4040
# cca --example ibc-transfer --name ibc-transfer

examples/asset-list/components/common/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const Layout = ({ children }: { children?: React.ReactNode }) => {
1313
bottom="0"
1414
left="0"
1515
right="0"
16-
height="max(1dvh, 100%)"
16+
flex={1}
1717
backgroundColor={theme === 'light' ? '$white' : '$gray900'}
1818
data-part-id="layout-container"
1919
>

examples/asset-list/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function CreateCosmosApp({ Component, pageProps }: AppProps) {
6868
signerOptions={signerOptions}
6969
>
7070
<QueryClientProvider client={queryClient}>
71-
<main id="main" className={themeClass}>
71+
<main id="main">
7272
{/* TODO fix type error */}
7373
{/* @ts-ignore */}
7474
<Component {...pageProps} />

examples/asset-list/styles/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,6 @@ h6 {
9797

9898
#main {
9999
min-height: 100vh;
100+
display: flex;
101+
flex-direction: column;
100102
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
"url": "https://github.com/cosmology-tech/create-cosmos-app"
4242
},
4343
"packageManager": "[email protected]"
44-
}
44+
}

0 commit comments

Comments
 (0)