Skip to content

Commit 01dbb86

Browse files
authored
Merge pull request #34 from NeoScript/update_host_color
fix: color should only apply to url
2 parents 8eb6210 + d6ae04c commit 01dbb86

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

webapp/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webapp",
3-
"version": "0.0.7",
3+
"version": "2025.05.22-1",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",

webapp/src/app/components/navbar/navbar.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
</button>
1010
<h3>pubsub-ui</h3>
1111
</div>
12-
12+
1313
<div class="config">
1414
<div class="links">
1515
<button mat-icon-button (click)="updateHostUrl()">
1616
<mat-icon>settings</mat-icon>
1717
</button>
1818

1919
@if (this.currentHost|async; as host) {
20-
<h4>current host: <a [href]="host">{{host}}</a></h4>
20+
<h4>current host: <a class="highlight" [href]="host">{{host}}</a></h4>
2121
}
2222
</div>
2323
</div>
2424
</div>
2525

26-
</mat-toolbar>
26+
</mat-toolbar>

webapp/src/app/components/navbar/navbar.component.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
gap: 1em;
1313

1414
align-items: center;
15+
}
16+
17+
.highlight {
1518
color: orange;
1619
}
1720

0 commit comments

Comments
 (0)