Skip to content

Commit

Permalink
fix: styling for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Jan 21, 2023
1 parent e4369f4 commit 1bfbcbf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/components/docker-registry-ui.riot
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
display: flex;
}
material-navbar .nav-wrapper .menu {
flex-shrink: 1;
}
material-footer {
color: var(--footer-neutral-text);
background-color: var(--footer-background);
Expand Down
7 changes: 1 addition & 6 deletions src/components/search-bar.riot
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,13 @@
<style>
:host material-input {
line-height: initial;
max-width: 20%;
min-width: 13em;
min-width: 5em;
}
@media screen and (max-width: 400px) {
:host material-input {
display: none;
}
}
:host material-input input {
color: #fff;
}
</style>
</search-bar>
6 changes: 6 additions & 0 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ material-spinner {
font-weight: 400;
}

@media screen and (max-width: 600px) {
.logo {
padding-left: 0;
}
}

h2 {
padding: 16px;
margin: auto;
Expand Down

0 comments on commit 1bfbcbf

Please sign in to comment.