Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Fix search bar padding
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcbride committed Jul 28, 2015
1 parent 5aa9c06 commit 8e498a5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion assets/css/app.css
Expand Up @@ -69,7 +69,7 @@ input[type="radio"], input[type="checkbox"] {
.sidebar-table {
position: absolute;
width: 100%;
top: 124px;
top: 103px;
bottom: 0px;
overflow: auto;
}
Expand Down
4 changes: 2 additions & 2 deletions assets/js/app.js
Expand Up @@ -340,7 +340,7 @@ $(document).one("ajaxStop", function () {
/* Build social share button links */
$("#twitter-share").attr("src", "//platform.twitter.com/widgets/tweet_button.html?url="+document.URL+"&via=fulcrumapp");
$(".fb-share-button").attr("data-href", document.URL);

/* Update navbar & layer title from URL parameter */
if (urlParams.title && urlParams.title.length > 0) {
var title = decodeURI(urlParams.title);
Expand All @@ -349,7 +349,7 @@ $(document).one("ajaxStop", function () {

/* Add legend with status values */
updateLegend();

/* Add navbar logo from URL parameter */
if (urlParams.logo && urlParams.logo.length > 0) {
$("#navbar-title").prepend("<img src='" + urlParams.logo + "'>");
Expand Down
16 changes: 7 additions & 9 deletions index.html
Expand Up @@ -86,16 +86,14 @@ <h3 class="panel-title">Records
<button type="button" class="btn btn-xs btn-default pull-right" id="sidebar-hide-btn"><i class="fa fa-chevron-left"></i></button></h3>
</div>
<div class="panel-body">
<p>
<div class="row">
<div class="col-xs-8 col-md-8">
<input type="text" class="form-control search" placeholder="Search" />
</div>
<div class="col-xs-4 col-md-4">
<button type="button" class="btn btn-primary pull-right sort" data-sort="feature-name" id="sort-btn"><i class="fa fa-sort"></i>&nbsp;&nbsp;Sort</button>
</div>
<div class="row">
<div class="col-xs-8 col-md-8">
<input type="text" class="form-control search" placeholder="Search" />
</div>
</p>
<div class="col-xs-4 col-md-4">
<button type="button" class="btn btn-primary pull-right sort" data-sort="feature-name" id="sort-btn"><i class="fa fa-sort"></i>&nbsp;&nbsp;Sort</button>
</div>
</div>
</div>
<div class="sidebar-table">
<table class="table table-hover" id="feature-list">
Expand Down

0 comments on commit 8e498a5

Please sign in to comment.