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

Unified Diff: sky/framework/sky-box/sky-box.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 | « sky/examples/widgets/index.sky ('k') | sky/framework/sky-checkbox/sky-checkbox.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/sky-box/sky-box.sky
diff --git a/sky/framework/sky-box/sky-box.sky b/sky/framework/sky-box/sky-box.sky
index ed21ebd01ee6f4fc7a2ee6b5d5d4efd62a638a48..3bee0176b252544922d0e446d3792b3ab930fe08 100644
--- a/sky/framework/sky-box/sky-box.sky
+++ b/sky/framework/sky-box/sky-box.sky
@@ -15,16 +15,20 @@
border: 1px solid gray;
margin: 10px;
}
- #title {
+ .title {
text-align: center;
font-size: 10px;
+ padding: 8px 8px 4px 8px;
+ }
+ .content {
+ padding: 4px 8px 8px 8px;
}
div {
- flex: 1 100%;
+ flex: 1;
}
</style>
- <div id='title'>{{ title }}</div>
- <div><content></content></div>
+ <div class="title">{{ title }}</div>
+ <div class="content"><content></content></div>
</template>
<script>
module.exports = class extends SkyElement {
« no previous file with comments | « sky/examples/widgets/index.sky ('k') | sky/framework/sky-checkbox/sky-checkbox.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698