Avoid re-layout when displaying the page.
Use <span>/<span> instead of <ul>/<il> for task menu anchor, to avoid flickering items when the menus are created.
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
<li><i class="fa fa-cog fa-fw"></i><?= $this->a(t('Settings'), 'config', 'index') ?></li>
|
||||
<?php endif ?>
|
||||
<li>
|
||||
<ul class="dropdown">
|
||||
<li>
|
||||
<span class="dropdown">
|
||||
<span>
|
||||
<i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Change dashboard view') ?></a>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -31,8 +31,8 @@
|
||||
<a href="#" class="dashboard-toggle" data-toggle="activities"><?= t('Show/hide activities') ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</span>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user