Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: sky/examples/widgets/index.sky

Issue 836723006: Improve the appearance of <sky-checkbox> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/framework/sky-box/sky-box.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/index.sky
diff --git a/sky/examples/widgets/index.sky b/sky/examples/widgets/index.sky
index d102f85baf950deaeb68e1fe9143126b20cb702f..29c967882d6668ab61ef8602cab60f43094f935d 100644
--- a/sky/examples/widgets/index.sky
+++ b/sky/examples/widgets/index.sky
@@ -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>
« no previous file with comments | « no previous file | sky/framework/sky-box/sky-box.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698