Skip to content

Commit 85978c5

Browse files
author
razi jafari
committed
set responsive modal
1 parent ad4edaa commit 85978c5

File tree

2 files changed

+36
-4
lines changed

2 files changed

+36
-4
lines changed

src/components/Topbar.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Component, xml, useState } from "@odoo/owl";
22
import metamaskIcon from "./img/MetaMaskIcon.svg";
3+
import coinbase from "./img/Coinbase.svg"
34
import Web3 from "web3";
45

56
export class Topbar extends Component {
@@ -32,10 +33,10 @@ export class Topbar extends Component {
3233
</div>
3334
3435
<!-- Modal body -->
35-
<div class="modal-body d-flex">
36+
<div class="modal-body d-flex flex-column flex-md-row">
3637
<!-- card1 -->
3738
<div class="card border-5 text-center my-4 mx-2" >
38-
<img src="${metamaskIcon}" class="card-img-top w-25 mx-auto" alt="meta mask logo"/>
39+
<img src="${metamaskIcon}" class="card-img-top w-25 mx-auto pt-2" alt="meta mask logo"/>
3940
4041
<div class="card-body">
4142
<h5 class="card-title text-dark my-5">Metamask</h5>
@@ -45,12 +46,12 @@ export class Topbar extends Component {
4546
</div>
4647
<!-- card2 -->
4748
<div class="card border-5 text-center my-4 mx-2" >
48-
<img src="${metamaskIcon}" class="card-img-top w-25 mx-auto" alt="meta mask logo"/>
49+
<img src="${coinbase}" class="card-img-top w-25 mx-auto pt-4" alt="meta mask logo"/>
4950
5051
<div class="card-body">
5152
<h5 class="card-title text-dark my-5">Coinwallet</h5>
5253
<p class="card-text"></p>
53-
<a href="#" class="btn btn-info text-white w-75 disabled">Connect</a>
54+
<a class="btn btn-info text-white w-75 disabled">Connect</a>
5455
</div>
5556
</div>
5657
</div>

src/components/img/Coinbase.svg

Lines changed: 31 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)