Skip to content

Business intelligence made simple

Reduced inline styles [skip ci]

Andrew Kanec1fb328559bb
diff --git a/app/assets/stylesheets/blazer/application.css b/app/assets/stylesheets/blazer/application.css
index 41dad0af..354e55bb 100644
--- a/app/assets/stylesheets/blazer/application.css
+++ b/app/assets/stylesheets/blazer/application.css
@@ -37,6 +37,8 @@ table.results-table {
input.search {
border: none;
box-shadow: none;
+ width: 300px;
+ display: inline-block;
}
input.search:focus {
diff --git a/app/views/blazer/checks/index.html.erb b/app/views/blazer/checks/index.html.erb
index c43f791e..af34a442 100644
--- a/app/views/blazer/checks/index.html.erb
+++ b/app/views/blazer/checks/index.html.erb
@@ -20,7 +20,7 @@
</div>
</div>
- <input id="search" type="text" placeholder="Start typing a query or state" style="width: 300px; display: inline-block;" class="search form-control" autofocus />
+ <input id="search" type="text" placeholder="Start typing a query or state" class="search form-control" autofocus />
</div>
<table id="checks" class="table">
diff --git a/app/views/blazer/queries/home.html.erb b/app/views/blazer/queries/home.html.erb
index c7584b81..540de1b1 100644
--- a/app/views/blazer/queries/home.html.erb
+++ b/app/views/blazer/queries/home.html.erb
@@ -28,7 +28,7 @@
</ul>
</div>
</div>
- <input id="search" type="text" placeholder="Start typing a query, dashboard, or person" style="width: 300px; display: inline-block;" autofocus class="search form-control" />
+ <input id="search" type="text" placeholder="Start typing a query, dashboard, or person" class="search form-control" autofocus />
</div>
<table class="table">
diff --git a/app/views/blazer/queries/schema.html.erb b/app/views/blazer/queries/schema.html.erb
index 5ae784ba..f7895813 100644
--- a/app/views/blazer/queries/schema.html.erb
+++ b/app/views/blazer/queries/schema.html.erb
@@ -5,7 +5,7 @@
<hr />
<div id="header">
- <input id="search" type="text" placeholder="Start typing a table or column" style="width: 300px; display: inline-block;" class="search form-control" autofocus />
+ <input id="search" type="text" placeholder="Start typing a table or column" class="search form-control" autofocus />
</div>
<% @schema.each do |table| %>
diff --git a/app/views/blazer/uploads/index.html.erb b/app/views/blazer/uploads/index.html.erb
index f6c16c7f..342df1b8 100644
--- a/app/views/blazer/uploads/index.html.erb
+++ b/app/views/blazer/uploads/index.html.erb
@@ -19,7 +19,7 @@
</div>
</div>
- <input id="search" type="text" placeholder="Start typing a table or person" style="width: 300px; display: inline-block;" class="search form-control" autofocus />
+ <input id="search" type="text" placeholder="Start typing a table or person" class="search form-control" autofocus />
</div>
<table id="uploads" class="table">