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

Side by Side Diff: ui/keyboard/resources/elements/kb-row.html

Issue 16336002: Adjust the WebUI keyboard css and layout to work better in narrow spaces. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 -- Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 -- Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 -- Use of this source code is governed by a BSD-style license that can be 3 -- Use of this source code is governed by a BSD-style license that can be
4 -- found in the LICENSE file. 4 -- found in the LICENSE file.
5 --> 5 -->
6 6
7 <element name="kb-row"> 7 <element name="kb-row">
8 <template> 8 <template>
9 <style> 9 <style>
10 @host { 10 @host {
11 * { 11 * {
12 -webkit-box-flex: 1; 12 -webkit-box-flex: 1;
13 display: -webkit-box; 13 display: -webkit-box;
14 text-align: center; 14 text-align: center;
15 margin-right: 5px; 15 margin-right: 5px;
16 margin-top: 5px; 16 margin-top: 7px;
17 } 17 }
18 } 18 }
19 content::-webkit-distributed(kb-key) { 19 content::-webkit-distributed(kb-key) {
20 -webkit-flex: 1 auto; 20 -webkit-flex: 1 auto;
21 } 21 }
22 </style> 22 </style>
23 <content select="*"></content> 23 <content select="*"></content>
24 </template> 24 </template>
25 <script> 25 <script>
26 Polymer.register(this); 26 Polymer.register(this);
27 </script> 27 </script>
28 </element> 28 </element>
OLDNEW
« no previous file with comments | « no previous file | ui/keyboard/resources/webui/constants.js » ('j') | ui/keyboard/resources/webui/keysets.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698