We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ced02 commit 6f88b62Copy full SHA for 6f88b62
src/app/status/status.component.css
@@ -4,6 +4,12 @@ div#status {
4
font-size: 1.2em;
5
}
6
7
+span#status-label {
8
+ display: inline-block;
9
+ width: 130px;
10
+ text-align: left;
11
+}
12
+
13
div#indicator {
14
width: 12px;
15
height: 12px;
src/app/status/status.component.html
@@ -1,6 +1,6 @@
1
<div id="status">
2
<div id="indicator" class="{{connectionStatus$|async}}"></div>
3
- <span>{{connectionStatus$|async}}</span>
+ <span id="status-label">{{connectionStatus$|async}}</span>
<button class="btn" (click)="rxStompService.activate()">Activate</button>
<button class="btn" (click)="rxStompService.deactivate()">DeActivate</button>
<button class="btn" (click)="rxStompService.stompClient.forceDisconnect()">Simulate Error</button>
0 commit comments