responsive changes
This commit is contained in:
parent
211c6511fa
commit
a2253de79a
@ -2,8 +2,8 @@
|
||||
<nav class="navbar navbar-expand navbar-light bg-transparent">
|
||||
<div class="container-fluid">
|
||||
<div class="collapse navbar-collapse home_mble_hdr" id="navbarSupportedContent">
|
||||
<div >
|
||||
<span>You are on </span>
|
||||
<div class="home_tst_net">
|
||||
<span>You are viewing </span>
|
||||
<ul class="list-unstyled d-inline-block mb-0">
|
||||
<li class="nav-item dropdown">
|
||||
<a
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
<div class="ml-auto ">
|
||||
<a class="chart_heading d-sm-none" routerLink="/"><span class="txt_primary">Epic</span><span>Explorer</span></a>
|
||||
<div class="d-inline-block mr-3">
|
||||
<span>You are on </span>
|
||||
<div class=" d-none d-sm-inline-block mr-3">
|
||||
<span>You are viewing </span>
|
||||
<ul class="list-unstyled d-inline-block">
|
||||
<li class="nav-item dropdown">
|
||||
|
||||
@ -46,7 +46,9 @@
|
||||
src="assets/img/light_theme.png" height="20" class="dark_theme_display"></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="position-relative d-block d-sm-none w-100 mt-3">
|
||||
|
||||
<input type="text" [(ngModel)]="search" #ctrl="ngModel" class="form-control search_input"
|
||||
(keyup.enter)="ctrl.value ? onSearch(ctrl.value) : ''" placeholder="{{'home.SEARCH_TEXT' | translate}}">
|
||||
<button class="btn search_btn" (click)="ctrl.value ? onSearch(ctrl.value) : ''">
|
||||
@ -55,5 +57,21 @@
|
||||
<!-- </a> -->
|
||||
</button>
|
||||
</div>
|
||||
<div class="d-block d-sm-none text-center mt-3 mx-auto">
|
||||
<span>You are viewing </span>
|
||||
<ul class="list-unstyled d-inline-block">
|
||||
<li class="nav-item dropdown">
|
||||
|
||||
<a class="nav-link dropdown-toggle bg-white" href="#" id="navbarDropdown" role="button"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Testnet
|
||||
</a>
|
||||
<div class="dropdown-menu net_dropdwn" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item p-2 disabled" href="https://explorer2.epic.tech">Mainnet</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<span> Network </span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -82,9 +82,12 @@
|
||||
}
|
||||
@media(max-width: 470px){
|
||||
.navbar-expand .navbar-collapse.home_mble_hdr{display: block !important;}
|
||||
.home_mble_hdr .navbar-nav{margin-top: 15px;}
|
||||
.home_mble_hdr .navbar-nav{margin: 15px auto 0; width: 63%;}
|
||||
.home_tst_net{font-size: 15px; width: 85%; margin: 0 auto;}
|
||||
|
||||
}
|
||||
@media(max-width: 365px){
|
||||
.mobile_table .col-6 {flex: 0 0 100%;max-width: 100%;}
|
||||
.view_page_header .search_btn{display: none;}
|
||||
.home_tst_net{font-size: 13px;}
|
||||
}
|
Loading…
Reference in New Issue
Block a user