Skip to content

Commit

Permalink
Adjusted the hostname in .pageTop to fit mobile devices better.
Browse files Browse the repository at this point in the history
  • Loading branch information
xcjs committed Sep 22, 2016
1 parent 036ce20 commit 7b0b2e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/theme/components/pageTop/pageTop.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<a href class="collapse-menu-link ion-navicon" ba-sidebar-toggle-menu></a>

<div class="navbar-right">
<h1 class="navbar-text">
<h1 class="hostname">
<img ng-src="/assets/img/app/distros/{{system.distro.id}}.svg" img-load-error alt="System Distributor Logo">
{{system.host.toUpperCase()}}
</h1>
Expand Down
14 changes: 11 additions & 3 deletions src/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

h1 > img {
height: 1em;
vertical-align: bottom;
padding: 0 .25em 0 0;
vertical-align: middle;
width: auto;
}

Expand All @@ -20,10 +21,17 @@ td > img {

.navbar-right {
float: right;
height: 100%;
max-width: 40%;
}

.navbar-text {
color: $primary-light;
.hostname {
color: rgb(255, 255, 255);
font-size: 24px;
line-height: 60px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.table > thead:first-child > tr:first-child > th.text-left,
Expand Down

0 comments on commit 7b0b2e6

Please sign in to comment.