Skip to content

Commit

Permalink
fix: scrollbar always displayed on safari (Joxit#327)
Browse files Browse the repository at this point in the history
fixes Joxit#327
  • Loading branch information
Joxit committed Jul 23, 2023
1 parent 07713f1 commit f015187
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/docker-registry-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/docker-registry-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docker-registry-ui",
"version": "2.5.1",
"version": "2.5.2",
"type": "module",
"scripts": {
"format": "npm run format-html && npm run format-js && npm run format-riot",
Expand Down
9 changes: 9 additions & 0 deletions src/components/docker-registry-ui.riot
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
};
</script>
<style>
:host {
display: flex;
flex-direction: column;
min-height: 100vh;
}
:host main {
flex-grow: 1;
margin: 0.5em 0;
}
material-navbar {
height: 64px;
color: var(--header-text);
Expand Down
4 changes: 0 additions & 4 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,6 @@ footer {
bottom: 0;
}

main {
min-height: calc(100% - 136px);
}

material-footer {
padding: 0.5em 1em;
li {
Expand Down

0 comments on commit f015187

Please sign in to comment.