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

Normalize action buttons placement #10466

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions js/about/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const settings = require('../constants/settings')
const aboutActions = require('./aboutActions')
const getSetting = require('../settings').getSetting
const SortableTable = require('../../app/renderer/components/common/sortableTable')
const Button = require('../../app/renderer/components/common/button')
const BrowserButton = require('../../app/renderer/components/common/browserButton')
const {makeImmutable} = require('../../app/common/state/immutableUtil')
const historyUtil = require('../../app/common/lib/historyUtil')

Expand Down Expand Up @@ -210,18 +210,18 @@ class AboutHistory extends React.Component {
<AboutPageSectionTitle data-l10n-id='history' />
<div className='headerActions'>
<div className='searchWrapper'>
<BrowserButton primaryColor
l10nId='clearBrowsingDataNow'
testId='clearBrowsingDataButton'
onClick={this.clearBrowsingDataNow}
/>
<input type='text' className='searchInput' ref='historySearch' id='historySearch' value={this.state.search} onChange={this.onChangeSearch} data-l10n-id='historySearch' />
{
this.state.search
? <span onClick={this.onClearSearchText} className='fa fa-close searchInputClear' />
: <span className='fa fa-search searchInputPlaceholder' />
}
</div>
<Button className='primaryButton'
l10nId='clearBrowsingDataNow'
testId='clearBrowsingDataButton'
onClick={this.clearBrowsingDataNow}
/>
</div>
</div>

Expand Down