Skip to content

Commit

Permalink
Merge pull request #170 from TAMULib/sprint10-157-conditional-mega-me…
Browse files Browse the repository at this point in the history
…nu-mobile-view

Sprint10 157 conditional mega menu mobile view
  • Loading branch information
rmathew1011 committed Sep 7, 2020
2 parents d61cd7e + f6d9c83 commit 84d5fd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<br />
<tl-it-works text="TAMU Library Components Work Really Well"></tl-it-works>
<div class="container" style="text-align: center;">
<tl-drop-down btn-type="primary">
<tl-drop-down btn-type="primary" hidden-in-mobile="true">
<tl-dropdown-btn>
<wvr-text value="Primary Dropdown"></wvr-text>
</tl-dropdown-btn>
Expand Down Expand Up @@ -193,7 +193,7 @@
<wvr-text value="Primary"></wvr-text>
</tl-button>
<tl-button btn-class="secondary">
<wvr-text value="Secondary"></wvr-text>
<wvr-text value="Secondary Will be Hidden"></wvr-text>
</tl-button>
<tl-button btn-class="info">
<wvr-text value="Info"></wvr-text>
Expand All @@ -217,14 +217,14 @@
<br /><hr /><br />
<div class="container" style="text-align: center;background: #6d6d6d;">
<tl-icon></tl-icon>
<tl-icon set="tl" name="weaver-w" color="#500000" size="34px"></tl-icon>
<tl-icon set="tl" name="weaver-w" color="#500000" size="34px" hidden-in-mobile="true"></tl-icon>
<tl-icon set="bootstrap" name="arrow-right-circle" size="32px" animate="{click: 'rotateToggle'}"></tl-icon>
</div>

<br /><hr /><br />
<div class="container" style="height: 700px">

<tl-mega-menu menu-title="Services" view-all-href="/view-all" view-all-button-text= "Customized View All Button">
<tl-mega-menu menu-title="Services" view-all-href="/view-all" view-all-button-text= "Customized View All Button" hidden-in-mobile="true">
<tl-mega-menu-section section-title="Section One">
<tl-nav-li>
<a href="/services/option1">
Expand Down
4 changes: 4 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
@import '~bootstrap/scss/bootstrap.scss';
}

.wvr-hidden {
display: none!important;
}

body {
margin: 0;
}
Expand Down

0 comments on commit 84d5fd6

Please sign in to comment.