Skip to content

Commit

Permalink
Changing the hide advanced link to an octicon
Browse files Browse the repository at this point in the history
  • Loading branch information
jklein committed Feb 2, 2015
1 parent ce17522 commit a18edd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions pub/assets/css/hound.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ button:focus {
transition: height, padding 0.1s ease-in-out;
}

#adv > .hideAdv {
color: #aaa;
text-decoration: underline;
.hide-adv {
cursor:pointer;
}

/* Media object clearfix */
Expand Down
6 changes: 2 additions & 4 deletions pub/assets/js/hound.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,7 @@ var SearchBar = React.createClass({

<div id="inb">
<div id="adv" ref="adv">
<div className="hideAdv" onClick={this.hideAdvanced}>
Hide Advanced
</div>
<span className="octicon octicon-chevron-up hide-adv" onClick={this.hideAdvanced}></span>
<div className="field">
<label>File Path</label>
<div className="field-input">
Expand Down Expand Up @@ -637,7 +635,7 @@ var FilesView = React.createClass({
<div className="title">
<ReactZeroClipboard className="copy-path-container" text={match.Filename}>
<button className="copy-path-btn">
<span className="octicon octicon-clippy"></span>
<span className="octicon octicon-clippy"></span>
</button>
</ReactZeroClipboard>
<a href={Model.UrlToRepo(repo, match.Filename)}>
Expand Down

0 comments on commit a18edd8

Please sign in to comment.