diff options
Diffstat (limited to 'polygerrit-ui/app/elements/change/gr-confirm-abandon-dialog/gr-confirm-abandon-dialog.html')
-rw-r--r-- | polygerrit-ui/app/elements/change/gr-confirm-abandon-dialog/gr-confirm-abandon-dialog.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-confirm-abandon-dialog/gr-confirm-abandon-dialog.html b/polygerrit-ui/app/elements/change/gr-confirm-abandon-dialog/gr-confirm-abandon-dialog.html index d3bf159e80..8803eb3e62 100644 --- a/polygerrit-ui/app/elements/change/gr-confirm-abandon-dialog/gr-confirm-abandon-dialog.html +++ b/polygerrit-ui/app/elements/change/gr-confirm-abandon-dialog/gr-confirm-abandon-dialog.html @@ -1,4 +1,5 @@ <!-- +@license Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,7 +17,7 @@ limitations under the License. <link rel="import" href="../../../bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html"> <link rel="import" href="../../../bower_components/polymer/polymer.html"> -<link rel="import" href="../../shared/gr-confirm-dialog/gr-confirm-dialog.html"> +<link rel="import" href="../../shared/gr-dialog/gr-dialog.html"> <link rel="import" href="../../../styles/shared-styles.html"> <dom-module id="gr-confirm-abandon-dialog"> @@ -45,18 +46,18 @@ limitations under the License. width: 73ch; /* Add a char to account for the border. */ --iron-autogrow-textarea { - border: 1px solid #cdcdcd; + border: 1px solid var(--border-color); box-sizing: border-box; font-family: var(--monospace-font-family); } } </style> - <gr-confirm-dialog + <gr-dialog confirm-label="Abandon" on-confirm="_handleConfirmTap" on-cancel="_handleCancelTap"> - <div class="header">Abandon Change</div> - <div class="main"> + <div class="header" slot="header">Abandon Change</div> + <div class="main" slot="main"> <label for="messageInput">Abandon Message</label> <iron-autogrow-textarea id="messageInput" @@ -65,7 +66,7 @@ limitations under the License. placeholder="<Insert reasoning here>" bind-value="{{message}}"></iron-autogrow-textarea> </div> - </gr-confirm-dialog> + </gr-dialog> </template> <script src="gr-confirm-abandon-dialog.js"></script> </dom-module> |