Skip to content

Business intelligence made simple

Updated styles

Andrew Kanefd09a328fb20
diff --git a/app/assets/stylesheets/blazer/application.css b/app/assets/stylesheets/blazer/application.css
index 17ec7388..1c158832 100644
--- a/app/assets/stylesheets/blazer/application.css
+++ b/app/assets/stylesheets/blazer/application.css
@@ -199,6 +199,11 @@ input.search:focus {
max-width: 400px;
}
+.alert {
+ padding-top: 8px;
+ padding-bottom: 8px;
+}
+
h1, h2, h3, h4, p, hr, .table, .navbar, #header, .alert, .form-group {
margin-top: 0;
margin-bottom: 15px;
diff --git a/app/views/blazer/queries/_form.html.erb b/app/views/blazer/queries/_form.html.erb
index 71ac9bae..16b09158 100644
--- a/app/views/blazer/queries/_form.html.erb
+++ b/app/views/blazer/queries/_form.html.erb
@@ -34,7 +34,7 @@
<%= f.label :description %>
<%= f.text_area :description, placeholder: "Optional", style: "height: 80px;", class: "form-control" %>
</div>
- <div class="text-right">
+ <div class="form-group text-right">
<%= f.submit "For Enter Press", class: "hide" %>
<% if @query.persisted? %>
<%= link_to "Delete", query_path(@query), method: :delete, "data-confirm" => "Are you sure?", class: "btn btn-danger" %>
@@ -49,7 +49,7 @@
<% words << pluralize(dashboards_count, "dashboard") if dashboards_count > 0 %>
<% words << pluralize(checks_count, "check") if checks_count > 0 %>
<% if words.any? %>
- <div class="alert alert-info" style="margin-top: 10px; padding: 8px 12px;">
+ <div class="alert alert-info" style="margin-bottom: 0;">
Part of <%= words.to_sentence %>. Be careful when editing.
</div>
<% end %>