Skip to content

Business intelligence made simple

Reduced inline styles [skip ci]

Andrew Kane86444dd62020
diff --git a/app/assets/stylesheets/blazer/application.css b/app/assets/stylesheets/blazer/application.css
index 3cb61bb7..72545ffb 100644
--- a/app/assets/stylesheets/blazer/application.css
+++ b/app/assets/stylesheets/blazer/application.css
@@ -309,3 +309,7 @@ h2 {
vertical-align: top;
margin-right: 5px;
}
+
+.docs-table {
+ max-width: 500px;
+}
diff --git a/app/views/blazer/queries/docs.html.erb b/app/views/blazer/queries/docs.html.erb
index e744fd56..985ffeca 100644
--- a/app/views/blazer/queries/docs.html.erb
+++ b/app/views/blazer/queries/docs.html.erb
@@ -9,7 +9,7 @@
<% if @smart_variables.any? %>
<p>Use these variable names to get a dropdown of values.</p>
- <table class="table" style="max-width: 500px;">
+ <table class="table docs-table">
<thead>
<tr>
<th>Variable</th>
@@ -34,7 +34,7 @@
<% if @linked_columns.any? %>
<p>Use these column names to link results to other pages.</p>
- <table class="table" style="max-width: 500px;">
+ <table class="table docs-table">
<thead>
<tr>
<th style="width: 20%;">Name</th>
@@ -61,7 +61,7 @@
<% if @smart_columns.any? %>
<p>Use these column names to show additional data.</p>
- <table class="table" style="max-width: 500px;">
+ <table class="table docs-table">
<thead>
<tr>
<th>Name</th>
@@ -83,7 +83,7 @@
<p>Use specific combinations of column types to generate charts.</p>
-<table class="table" style="max-width: 500px;">
+<table class="table docs-table">
<thead>
<tr>
<th style="width: 20%;">Chart</th>