Skip to content

Commit

Permalink
fix: capped networks view grid to 70vh
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiir committed Jan 3, 2024
1 parent 5101280 commit c3f0b30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/scaffold/src/views/w3m-networks-view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ import { customElement } from '@web3modal/ui'
import { LitElement, html } from 'lit'
import { state } from 'lit/decorators.js'
import { ifDefined } from 'lit/directives/if-defined.js'
import styles from './styles.js'

@customElement('w3m-networks-view')
export class W3mNetworksView extends LitElement {
public static override styles = styles
// -- Members ------------------------------------------- //
private unsubscribe: (() => void)[] = []

Expand Down
8 changes: 8 additions & 0 deletions packages/scaffold/src/views/w3m-networks-view/styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { css } from 'lit'

export default css`
:host > wui-grid {
max-height: 70vh;
overflow: auto;
}
`

0 comments on commit c3f0b30

Please sign in to comment.