From 56a60d48f6cc11fb512e249f4bf32bf69e902924 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 14 Mar 2024 18:05:40 +0100 Subject: Make the UI a bit more consistent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Titles have been unified by using the same HTML tag. - Centered views have been improved for big screens. - Added more views that are to be centered. Signed-off-by: Miquel Sabaté Solà --- app/views/shared_searches/index.html.erb | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'app/views/shared_searches') diff --git a/app/views/shared_searches/index.html.erb b/app/views/shared_searches/index.html.erb index 9a145f6..a17537c 100644 --- a/app/views/shared_searches/index.html.erb +++ b/app/views/shared_searches/index.html.erb @@ -1,13 +1,19 @@ -

<%= I18n.t('searches.shared.title') %>

+
+
+
+

<%= I18n.t('searches.shared.title') %>

-<% if @searches.empty? %> -
<%= I18n.t('searches.shared.none') %>.
-<% else %> -
- <% @searches.each do |s| %> -
- <%= link_to s.name, search_shared_path(s) %> + <% if @searches.empty? %> +
<%= I18n.t('searches.shared.none') %>.
+ <% else %> +
+ <% @searches.each do |s| %> +
+ <%= link_to s.name, search_shared_path(s) %> +
+ <% end %>
<% end %>
-<% end %> +
+
-- cgit v1.2.3