Skip to content

Commit

Permalink
Fix dropdown arrow on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny2github committed Jan 4, 2021
1 parent c570dfc commit 325e554
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ScratchWikiSkinTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function execute() {
</form>
</li>
<li class="link right content-actions">
<a class="dropdown-toggle" href="?action=edit"></a>
<a class="dropdown-toggle" href="?action=edit"><div></div></a>
<ul class="dropdown">
<?php foreach ($this->data['content_actions'] as $key => $tab) { ?>
<?=$this->makeListItem($key, $tab)?>
Expand Down
12 changes: 10 additions & 2 deletions resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -682,15 +682,23 @@ dl dt {

#navigation ul>li.content-actions>a.dropdown-toggle {
height: 25px;
width: 25px;
width: auto;
min-width: 25px;
padding: 12.5px;
/* @embed */
background-image: url('../Edit-pencil.png');
background-size: 25px 25px;
background-position: center;
background-position: 12.5px center;
background-repeat: no-repeat;
}

#navigation ul>li.content-actions>a.dropdown-toggle>div {
height: 25px;
width: 25px;
display: inline-block;
vertical-align: middle;
}

#lastmod {
text-align: center;
font-size: 11px;
Expand Down

0 comments on commit 325e554

Please sign in to comment.