Improve the appearance of <sky-checkbox>
The unicode char never showed up for me, lets do what polymer does for now. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/836723006
This commit is contained in:
parent
e1e7110716
commit
00f2a53738
@ -12,7 +12,16 @@
|
||||
<sky-element name="widget-root">
|
||||
<template>
|
||||
<style>
|
||||
div { display: paragraph; }
|
||||
div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
sky-checkbox {
|
||||
margin: 5px;
|
||||
}
|
||||
.output {
|
||||
margin-left: 48px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<sky-box title='Buttons'>
|
||||
@ -23,9 +32,8 @@
|
||||
|
||||
<sky-box title='Checkboxes'>
|
||||
<div><sky-checkbox id='checkbox' />Checkbox</div>
|
||||
<div>highlight: {{ myCheckbox.highlight }}</div>
|
||||
<div>checked: {{ myCheckbox.checked }}</div>
|
||||
|
||||
<div class="output">highlight: {{ myCheckbox.highlight }}</div>
|
||||
<div class="output">checked: {{ myCheckbox.checked }}</div>
|
||||
<div><sky-checkbox id='checkbox' checked='true'/>Checkbox, default checked.</div>
|
||||
</sky-box>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user