diff options
Diffstat (limited to 'chromium/ui/keyboard/resources/elements/kb-row.html')
-rw-r--r-- | chromium/ui/keyboard/resources/elements/kb-row.html | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/chromium/ui/keyboard/resources/elements/kb-row.html b/chromium/ui/keyboard/resources/elements/kb-row.html index 0398587daa2..6d0f254fe3e 100644 --- a/chromium/ui/keyboard/resources/elements/kb-row.html +++ b/chromium/ui/keyboard/resources/elements/kb-row.html @@ -1,31 +1,22 @@ <!-- - -- Copyright (c) 2013 The Chromium Authors. All rights reserved. + -- Copyright 2013 The Chromium Authors. All rights reserved. -- Use of this source code is governed by a BSD-style license that can be -- found in the LICENSE file. --> -<polymer-element name="kb-row"> +<polymer-element name="kb-row" attributes="align weight"> <template> <style> - @host { - * { - -webkit-box-flex: 1; - display: -webkit-box; - text-align: center; - margin-right: 0.25em; - margin-top: 0.25em; - } - *:last-of-type { - margin-bottom: 0.25em; - } - } - content::-webkit-distributed(kb-key) { - -webkit-flex: 1 auto; - } + :host() { + text-align: center; + margin-right: 0.25em; + margin-top: 0.25em; + } + :host(:last-of-type) { + margin-bottom: 0.25em; + } </style> <content select="*"></content> </template> - <script> - Polymer('kb-row'); - </script> + </polymer-element> |