1
好,所以問題是,當我加載這個 - https://codepen.io/russellharrower/pen/aZmJya你會注意到右側與左側不一樣。我想知道我會如何去糾正這個請。Material Design Lite - 導航標題欄中的搜索欄
我需要正確的填充像左邊。
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">IPET</span></span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label mdl-textfield--align-right">
<label class="mdl-button mdl-js-button mdl-button--icon" for="fixed-header-drawer-exp">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input class="mdl-textfield__input" type="text" name="sample" id="fixed-header-drawer-exp" />
</div>
<button id="demo-menu-lower-right"
class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
<i class="material-icons">chat</i>
</button>
<ul class="mdl-menu mdl-js-menu mdl-js-ripple-effect mdl-menu--bottom-right"
for="demo-menu-lower-right">
<li class="mdl-menu__item">Some Action</li>
<li class="mdl-menu__item">Another Action</li>
<li disabled class="mdl-menu__item">Disabled Action</li>
<li class="mdl-menu__item">Yet Another Action</li>
</ul>
</div>
</div>
</header>
你的問題是目前還不清楚,你能澄清?你想讓雙方看起來一樣,功能是一樣的還是什麼? –
@ghost_dad我需要擁有與左側相同的填充 – RussellHarrower