Skip to content

Commit 6f88b62

Browse files
committed
CSS change
1 parent a8ced02 commit 6f88b62

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/app/status/status.component.css

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ div#status {
44
font-size: 1.2em;
55
}
66

7+
span#status-label {
8+
display: inline-block;
9+
width: 130px;
10+
text-align: left;
11+
}
12+
713
div#indicator {
814
width: 12px;
915
height: 12px;

src/app/status/status.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="status">
22
<div id="indicator" class="{{connectionStatus$|async}}"></div>
3-
<span>{{connectionStatus$|async}}</span>
3+
<span id="status-label">{{connectionStatus$|async}}</span>
44
<button class="btn" (click)="rxStompService.activate()">Activate</button>
55
<button class="btn" (click)="rxStompService.deactivate()">DeActivate</button>
66
<button class="btn" (click)="rxStompService.stompClient.forceDisconnect()">Simulate Error</button>

0 commit comments

Comments
 (0)