Skip to content

Commit

Permalink
Merge pull request #15198 from murex971/css-changes
Browse files Browse the repository at this point in the history
Span converted to button
  • Loading branch information
MauricioFauth committed Apr 27, 2019
2 parents 011e918 + 03ba087 commit f29add9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions libraries/classes/RecentFavoriteTable.php
Expand Up @@ -251,13 +251,13 @@ public function getHtml()
{
$html = '<div class="drop_list">';
if ($this->_tableType == 'recent') {
$html .= '<span title="' . __('Recent tables')
. '" class="drop_button">'
. __('Recent') . '</span><ul id="pma_recent_list">';
$html .= '<button title="' . __('Recent tables')
. '" class="drop_button btn">'
. __('Recent') . '</button><ul id="pma_recent_list">';
} else {
$html .= '<span title="' . __('Favorite tables')
. '" class="drop_button">'
. __('Favorites') . '</span><ul id="pma_favorite_list">';
$html .= '<button title="' . __('Favorite tables')
. '" class="drop_button btn">'
. __('Favorites') . '</button><ul id="pma_favorite_list">';
}
$html .= $this->getHtmlList();
$html .= '</ul></div>';
Expand Down
2 changes: 1 addition & 1 deletion themes/pmahomme/scss/_navigation.scss
Expand Up @@ -479,7 +479,7 @@ html.ie {
}

.drop_button {
padding: 0 0.3em;
padding: 0.3em;
border: 1px solid #ddd;
border-radius: 0.3em;
background: #f2f2f2;
Expand Down

0 comments on commit f29add9

Please sign in to comment.