diff --git a/app/assets/stylesheets/tpi/pages/home.scss b/app/assets/stylesheets/tpi/pages/home.scss index e1b13a629..698e149df 100644 --- a/app/assets/stylesheets/tpi/pages/home.scss +++ b/app/assets/stylesheets/tpi/pages/home.scss @@ -269,8 +269,20 @@ .section-description { .tns-item { padding-right: 0 !important; - border-right: 2px solid $blue-ribbon; - height: 300px + position: relative; + } + + .slider-divider { + position: absolute; + top: 0; + right: 0; + height: 300px; + background-color: blue; + width: 2px; + + @include mobile { + display: none; + } } .research-box { diff --git a/app/views/tpi/home/index.html.erb b/app/views/tpi/home/index.html.erb index eb9b66516..2ea525e05 100644 --- a/app/views/tpi/home/index.html.erb +++ b/app/views/tpi/home/index.html.erb @@ -32,7 +32,7 @@
Corporates
CP & MQ
<% end %> <%= link_to tpi_corporate_bond_issuers_path, class: 'assessment-box' do %> -
Corporates
CA100+
+
Bond
Issuers
<% end %> <%= link_to tpi_banks_path, class: 'assessment-box' do %>
Banks
@@ -168,7 +168,7 @@
- <% @latest_researches.each do |research| %> + <% @latest_researches.each_with_index do |research, index| %>
<%= link_to tpi_publication_download_file_path(slug: research.slug), target: '_blank', class: 'research-box' do %> @@ -187,6 +187,9 @@
<% end %> + <% if index <= @latest_researches.length - 1 %> +
 
+ <% end %>
<% end %>
@@ -209,7 +212,7 @@
-
If you would like to discuss funding TPI Centre's work, please Contact Us
+
If you would like to discuss funding TPI Centre's work, please contact us