mirror of https://github.com/ColorlibHQ/AdminLTE
rework navbar to be scrollable
parent
0cfe854c71
commit
1058af118a
|
@ -17,6 +17,14 @@ body.iframe-mode {
|
|||
height: 100%;
|
||||
|
||||
&.iframe-mode {
|
||||
.navbar-nav {
|
||||
overflow-y: auto;
|
||||
width: 100%;
|
||||
|
||||
.nav-link {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
.tab-content {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
@ -743,11 +743,8 @@
|
|||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper iframe-mode" data-widget="iframe" data-loading-screen="750">
|
||||
<div class="nav navbar navbar-expand-lg navbar-white navbar-light border-bottom p-0">
|
||||
<ul class="navbar-nav" role="tablist">
|
||||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link bg-danger" href="#" class="iframe-close">Close</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a class="nav-link bg-danger" href="#" data-widget="iframe-close">Close</a>
|
||||
<ul class="navbar-nav" role="tablist"></ul>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<div class="tab-empty">
|
||||
|
|
Loading…
Reference in New Issue