Add new styling
This commit is contained in:
parent
7cbd7b1fb2
commit
24befd241f
3 changed files with 6 additions and 8 deletions
|
@ -9,7 +9,7 @@ export default function LampButtonToggle(props) {
|
|||
return (
|
||||
<div>
|
||||
<Button
|
||||
style={{ height: 130, width: 130, marginRight: 20 }}
|
||||
style={{ height: 130, width: 130, marginLeft: 10, marginRight: 10 }}
|
||||
variant="contained"
|
||||
color="secondary"
|
||||
endIcon={<EmojiObjectsIcon />}
|
||||
|
|
|
@ -4,15 +4,13 @@ import LampButtonAbsolute from './LampButtonAbsolute';
|
|||
|
||||
export default function LampButtonList() {
|
||||
return (
|
||||
<div>
|
||||
<div style={{ margin: 20 }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
||||
<div style={{ display: 'flex', margin: 20 }}>
|
||||
<LampButtonAbsolute title="on" />
|
||||
<LampButtonAbsolute title="off" />
|
||||
</div>
|
||||
<LampButtonAbsolute title="on" />
|
||||
<LampButtonAbsolute title="off" />
|
||||
</div>
|
||||
|
||||
<div style={{ display: 'flex', margin: 20 }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'center', marginTop: 20 }}>
|
||||
<LampButtonToggle lampnumber={0} />
|
||||
<LampButtonToggle lampnumber={1} />
|
||||
<LampButtonToggle lampnumber={2} />
|
||||
|
|
|
@ -13,7 +13,7 @@ export default function LampButtonToggle(props) {
|
|||
return (
|
||||
<div>
|
||||
<Button
|
||||
style={{ height: 130, width: 130, marginRight: 20, userSelect: 'none' }}
|
||||
style={{ height: 130, width: 130, marginLeft: 10, marginRight: 10 }}
|
||||
variant="contained"
|
||||
color={lampEnabled ? 'secondary' : 'primary'}
|
||||
endIcon={<EmojiObjectsIcon />}
|
||||
|
|
Reference in a new issue