Skip to content

Commit

Permalink
set responsive modal
Browse files Browse the repository at this point in the history
  • Loading branch information
razi jafari committed Dec 15, 2022
1 parent ad4edaa commit 85978c5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/Topbar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Component, xml, useState } from "@odoo/owl";
import metamaskIcon from "./img/MetaMaskIcon.svg";
import coinbase from "./img/Coinbase.svg"
import Web3 from "web3";

export class Topbar extends Component {
Expand Down Expand Up @@ -32,10 +33,10 @@ export class Topbar extends Component {
</div>
<!-- Modal body -->
<div class="modal-body d-flex">
<div class="modal-body d-flex flex-column flex-md-row">
<!-- card1 -->
<div class="card border-5 text-center my-4 mx-2" >
<img src="${metamaskIcon}" class="card-img-top w-25 mx-auto" alt="meta mask logo"/>
<img src="${metamaskIcon}" class="card-img-top w-25 mx-auto pt-2" alt="meta mask logo"/>
<div class="card-body">
<h5 class="card-title text-dark my-5">Metamask</h5>
Expand All @@ -45,12 +46,12 @@ export class Topbar extends Component {
</div>
<!-- card2 -->
<div class="card border-5 text-center my-4 mx-2" >
<img src="${metamaskIcon}" class="card-img-top w-25 mx-auto" alt="meta mask logo"/>
<img src="${coinbase}" class="card-img-top w-25 mx-auto pt-4" alt="meta mask logo"/>
<div class="card-body">
<h5 class="card-title text-dark my-5">Coinwallet</h5>
<p class="card-text"></p>
<a href="#" class="btn btn-info text-white w-75 disabled">Connect</a>
<a class="btn btn-info text-white w-75 disabled">Connect</a>
</div>
</div>
</div>
Expand Down
31 changes: 31 additions & 0 deletions src/components/img/Coinbase.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 85978c5

Please sign in to comment.