Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Bookmark form styles improvement
Browse files Browse the repository at this point in the history
Closes #6004

Auditors: @bradleyrichter

Test Plan:
  • Loading branch information
Suguru Hirahara committed Dec 3, 2016
1 parent fa377b5 commit 1df8dc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
4 changes: 2 additions & 2 deletions app/renderer/components/addEditBookmarkHanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ class AddEditBookmarkHanger extends ImmutableComponent {
<div className='bookmarkButtons'>
{
this.props.originalDetail
? <Button l10nId='remove' className='removeButton whiteButton' onClick={this.onRemoveBookmark} />
? <Button l10nId='remove' className='whiteButton wideButton' onClick={this.onRemoveBookmark} />
: null
}
<Button l10nId='done' disabled={!this.bookmarkNameValid} className='doneButton primaryButton' onClick={this.onSave} />
<Button l10nId='done' disabled={!this.bookmarkNameValid} className='primaryButton wideButton' onClick={this.onSave} />
</div>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@
background: linear-gradient(#FFFFFF, #DEDEDE);
margin-top: 10px;
padding: 0;
min-width: 310px;

.arrowUp {
width: 0;
Expand All @@ -572,15 +573,14 @@
}

.bookmarkButtons {
margin: 20px 0 10px 0;

.doneButton {
margin-right: 0;
}
display: flex;
justify-content: flex-end;
margin: 20px 0 10px;
}

.bookmarkFormInner {
padding: 10px 30px;

h2 {
-webkit-user-select: none;
cursor: default;
Expand Down
8 changes: 0 additions & 8 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -591,14 +591,6 @@
}

#navigator {
.bookmarkButtons {
display: flex;

.removeButton {
flex-grow: 1;
}
}

.stopButton,
.reloadButton,
.homeButton {
Expand Down

0 comments on commit 1df8dc3

Please sign in to comment.