Update a few more raised buttons to 'link' buttons
Also fixes their alignment.
Change-Id: Ib5873b08f3db7251027d7a1aa1f613eb7b7a5495
(cherry picked from commit 96ed965dd7
)
This commit is contained in:

committed by
David Pursehouse

parent
b380efe3ab
commit
9da05d694d
@@ -42,14 +42,14 @@ limitations under the License.
|
||||
.revisionEdit {
|
||||
display: none;
|
||||
}
|
||||
gr-button {
|
||||
margin-left: .3em;
|
||||
.revisionEdit gr-button {
|
||||
margin-left: .6em;
|
||||
}
|
||||
.editBtn {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.canEdit .revisionEdit{
|
||||
align-items: baseline;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
line-height: 1em;
|
||||
}
|
||||
@@ -91,6 +91,7 @@ limitations under the License.
|
||||
[[item.revision]]
|
||||
</span>
|
||||
<gr-button
|
||||
link
|
||||
on-tap="_handleEditRevision"
|
||||
class="editBtn">
|
||||
edit
|
||||
@@ -100,16 +101,18 @@ limitations under the License.
|
||||
bind-value="{{_revisedRef}}"
|
||||
class="editItem">
|
||||
<gr-button
|
||||
link
|
||||
on-tap="_handleCancelRevision"
|
||||
class="cancelBtn editItem">
|
||||
Cancel
|
||||
</gr-button>
|
||||
<gr-button
|
||||
link
|
||||
on-tap="_handleSaveRevision"
|
||||
class="saveBtn editItem"
|
||||
disabled="[[!_revisedRef]]">
|
||||
Save
|
||||
</gr-button>
|
||||
<gr-button
|
||||
on-tap="_handleCancelRevision"
|
||||
class="cancelBtn editItem">
|
||||
Cancel
|
||||
</gr-button>
|
||||
</span>
|
||||
</td>
|
||||
<td class="repositoryBrowser">
|
||||
@@ -125,6 +128,7 @@ limitations under the License.
|
||||
</td>
|
||||
<td class="delete">
|
||||
<gr-button
|
||||
link
|
||||
class$="deleteButton [[_computeHideDeleteClass(_isOwner, item.can_delete)]]"
|
||||
on-tap="_handleDeleteItem">
|
||||
Delete
|
||||
|
@@ -24,6 +24,7 @@ limitations under the License.
|
||||
<template>
|
||||
<style include="shared-styles">
|
||||
.text {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: .5em;
|
||||
@@ -53,6 +54,7 @@ limitations under the License.
|
||||
on-tap="_handleInputTap"
|
||||
readonly>
|
||||
<gr-button id="button"
|
||||
link
|
||||
class="copyToClipboard"
|
||||
on-tap="_copyToClipboard">
|
||||
copy
|
||||
|
Reference in New Issue
Block a user