Skip to content

Commit 7b0b2e6

Browse files
committed
Adjusted the hostname in .pageTop to fit mobile devices better.
1 parent 036ce20 commit 7b0b2e6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/app/theme/components/pageTop/pageTop.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<a href class="collapse-menu-link ion-navicon" ba-sidebar-toggle-menu></a>
44

55
<div class="navbar-right">
6-
<h1 class="navbar-text">
6+
<h1 class="hostname">
77
<img ng-src="/assets/img/app/distros/{{system.distro.id}}.svg" img-load-error alt="System Distributor Logo">
88
{{system.host.toUpperCase()}}
99
</h1>

src/sass/main.scss

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
h1 > img {
77
height: 1em;
8-
vertical-align: bottom;
8+
padding: 0 .25em 0 0;
9+
vertical-align: middle;
910
width: auto;
1011
}
1112

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

2122
.navbar-right {
2223
float: right;
24+
height: 100%;
25+
max-width: 40%;
2326
}
2427

25-
.navbar-text {
26-
color: $primary-light;
28+
.hostname {
29+
color: rgb(255, 255, 255);
30+
font-size: 24px;
31+
line-height: 60px;
32+
overflow: hidden;
33+
text-overflow: ellipsis;
34+
white-space: nowrap;
2735
}
2836

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

0 commit comments

Comments
 (0)