Commit 00f2a537 authored by Elliott Sprehn's avatar Elliott Sprehn

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
parent e1e71107
...@@ -12,7 +12,16 @@ ...@@ -12,7 +12,16 @@
<sky-element name="widget-root"> <sky-element name="widget-root">
<template> <template>
<style> <style>
div { display: paragraph; } div {
display: flex;
align-items: center;
}
sky-checkbox {
margin: 5px;
}
.output {
margin-left: 48px;
}
</style> </style>
<sky-box title='Buttons'> <sky-box title='Buttons'>
...@@ -23,9 +32,8 @@ ...@@ -23,9 +32,8 @@
<sky-box title='Checkboxes'> <sky-box title='Checkboxes'>
<div><sky-checkbox id='checkbox' />Checkbox</div> <div><sky-checkbox id='checkbox' />Checkbox</div>
<div>highlight: {{ myCheckbox.highlight }}</div> <div class="output">highlight: {{ myCheckbox.highlight }}</div>
<div>checked: {{ myCheckbox.checked }}</div> <div class="output">checked: {{ myCheckbox.checked }}</div>
<div><sky-checkbox id='checkbox' checked='true'/>Checkbox, default checked.</div> <div><sky-checkbox id='checkbox' checked='true'/>Checkbox, default checked.</div>
</sky-box> </sky-box>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment