From 93fb9bf1928b16c5c377fe3a4c02698c95ee714f Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 23 Jun 2018 22:45:19 +0200 Subject: [PATCH] floating --- src/app/app.component.css | 8 +++++++ src/app/app.component.html | 21 ++++++++----------- .../led-button-group2.component.ts | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/app/app.component.css b/src/app/app.component.css index e69de29..090c3cf 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -0,0 +1,8 @@ +ledbutton2 { + float: left; + display: block; +} + +p.clear { + clear: both; +} \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index 0a6e8bf..ac92b97 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -8,22 +8,19 @@ Wohnzimmer - - - - - - - -
- - - -
+ + + + + + + + +

diff --git a/src/app/led-button-group2/led-button-group2.component.ts b/src/app/led-button-group2/led-button-group2.component.ts index 7111197..038bd4b 100644 --- a/src/app/led-button-group2/led-button-group2.component.ts +++ b/src/app/led-button-group2/led-button-group2.component.ts @@ -5,7 +5,7 @@ import { MqttclientService } from '../mqttclient.service' selector: 'ledbutton2', template: `
{{label}}