Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 03b1e44

Browse files
committed
Change layout to show the update button separately
Added margin of 3px to any extension action button (more spread buttons).
1 parent 6cc7685 commit 03b1e44

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/htmlContent/extension-manager-view-item.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
{{/translated}}
5252
</td>
5353
<td class="ext-action">
54+
<div>
5455
{{#showInstallButton}}
5556
<button class="btn btn-mini install" data-extension-id="{{metadata.name}}" {{^allowInstall}}disabled{{/allowInstall}}>
5657
{{^isInstalled}}{{Strings.INSTALL}}{{/isInstalled}}
@@ -64,6 +65,9 @@
6465
</button>
6566
{{/showUpdateButton}}
6667
{{#disablingAllowed}}
68+
{{#showUpdateButton}}
69+
</div><div>
70+
{{/showUpdateButton}}
6771
<button class="btn btn-mini disable" data-extension-id="{{metadata.name}}">
6872
{{Strings.DISABLE}}
6973
</button>
@@ -93,5 +97,6 @@
9397
{{Strings.MARKED_FOR_UPDATE}} (<a class="undo-update" data-extension-id="{{metadata.name}}" href="#">{{Strings.UNDO_UPDATE}}</a>)
9498
{{/isMarkedForUpdate}}
9599
{{/isInstalled}}
100+
</div>
96101
</td>
97102
</tr>

src/styles/brackets_patterns_override.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,7 @@ input[type="color"],
15251525
box-shadow: inset 0 1px @bc-highlight-hard;
15261526
-webkit-font-smoothing: antialiased;
15271527
text-shadow: none;
1528+
margin: 3px;
15281529

15291530
.dark & {
15301531
background-color: @dark-bc-btn-bg;
@@ -1650,7 +1651,6 @@ input[type="color"],
16501651
color: @bc-text-alt;
16511652
font-weight: @font-weight-semibold;
16521653
text-shadow: 0 -1px 0 @bc-shadow-small;
1653-
margin-right: 3px;
16541654

16551655
.dark & {
16561656
background-color: @dark-bc-secondary-btn-bg;

0 commit comments

Comments
 (0)