Add max width to embed

pull/850/head
Uku Taht 6 years ago
parent 686fb6cac1
commit 8ab6edd73f

@ -73,7 +73,7 @@ blockquote {
@screen lg {
.main-graph {
padding-top: calc(451 / 1088 * 100%);
padding-top: calc(28px + (451 / 1088 * 100%));
}
}

@ -1,4 +1,4 @@
<div class="<%= if !@conn.assigns[:embedded], do: "container" %>" data-site-domain="<%= @site.domain %>">
<div class="<%= if !@conn.assigns[:embedded], do: "container", else: "max-w-screen-lg mx-auto" %>" data-site-domain="<%= @site.domain %>">
<%= if @offer_email_report do %>
<div class="w-full px-4 text-sm font-bold text-center text-blue-900 bg-blue-200 rounded transition" style="top: 91px" role="alert">
<%= link("Click here to enable weekly email reports →", to: "/#{URI.encode_www_form(@site.domain)}/settings/email-reports", class: "py-2 block") %>

Loading…
Cancel
Save