Skip to content

Commit

Permalink
Add space to Load More link
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Mar 6, 2014
1 parent 67a29ff commit d9fe03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/select.inc.php
Expand Up @@ -470,7 +470,7 @@
);
}
echo (($found_rows === false ? count($rows) + 1 : $found_rows - $page * $limit) > $limit
? ' <a href="' . h(remove_from_uri("page") . "&page=" . ($page + 1)) . '" onclick="return !selectLoadMore(this, ' . (+$limit) . ', \'' . lang('Loading') . '...\');">' . lang('Load more data') . '</a>'
? ' <a href="' . h(remove_from_uri("page") . "&page=" . ($page + 1)) . '" onclick="return !selectLoadMore(this, ' . (+$limit) . ', \'' . lang('Loading') . '...\');" class="loadmore">' . lang('Load more data') . '</a>'
: ''
);
} else {
Expand Down
1 change: 1 addition & 0 deletions adminer/static/default.css
Expand Up @@ -58,6 +58,7 @@ input.required { box-shadow: 1px 1px 1px red; }
.pages { position: fixed; bottom: 0; left: 21em; padding: 5px; background: #ddf; border: 1px solid #999; }
.links a { white-space: nowrap; margin-right: 20px; }
.logout { margin-top: .5em; position: absolute; top: 0; right: 0; }
.loadmore { margin-left: 1ex; }
#menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 19em; }
#menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
#dbs { overflow: hidden; }
Expand Down

1 comment on commit d9fe03e

@apmuthu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 58:

.pages { position: fixed; bottom: 0; left: 21em; padding: 5px; background: #ddf; border: 1px solid #999; }

should be

.pages { position: fixed; bottom: 0; left: 24em; padding: 5px; background: #ddf; border: 1px solid #999; }

for the designs/brade/adminer.css skin to work properly so that the "load more data" float does not overlap the menu right bottom corner.

Please sign in to comment.