diff --git a/app/views/internal/articles/_individual_article.html.erb b/app/views/internal/articles/_individual_article.html.erb index df719bc7c..08adba0ec 100644 --- a/app/views/internal/articles/_individual_article.html.erb +++ b/app/views/internal/articles/_individual_article.html.erb @@ -127,17 +127,15 @@
<%= article.processed_html&.html_safe %>
-
+
<%= form_tag "/internal/buffer_updates" do %>

Twitter MAIN

+<% if !article.user.twitter_username.blank? %> { author: @<%= article.user.twitter_username %> } #DEVCommunity<% end %> + <% end %> <% if (article.decorate.cached_tag_list_array & Tag.bufferized_tags).any? %> @@ -146,7 +144,8 @@

Twitter Satellite

+<% if !article.user.twitter_username.blank? %> { author: @<%= article.user.twitter_username %> }<% end %> + <% end %> <% end %> diff --git a/app/views/layouts/internal.html.erb b/app/views/layouts/internal.html.erb index ba042f7ce..96ea6dc79 100644 --- a/app/views/layouts/internal.html.erb +++ b/app/views/layouts/internal.html.erb @@ -50,7 +50,7 @@ .wrapper-3 { display: grid; - grid-template-columns: 25% 40% 25%%; + grid-template-columns: 25% 40% 25%; padding: 2px; } @@ -66,6 +66,17 @@ display: inline-block; } + .flex-column form { + display: flex; + flex-direction: column; + } + + .flex-column textarea { + font-size: 12px; + width: 45%; + margin-bottom: 5px; + } + textarea { font-size: 12px; width: 75%; @@ -73,6 +84,9 @@ .btn { min-width: 100px; + width: fit-content; + width: -moz-fit-content; + width: -webkit-fit-content; } .single-internal-listing {