Skip to content

Commit

Permalink
Reduce font size of markers
Browse files Browse the repository at this point in the history
  • Loading branch information
jazairi committed Jun 6, 2024
1 parent 46361d1 commit c7822bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions app/assets/stylesheets/partials/_results.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@
font-size: $fs-small;

&::marker {
font-size: 2.5rem;
line-height: 1.1;
font-size: 1rem;
font-weight: $fw-bold;
}

.record-title {
font-size: 2.5rem;
line-height: 1.2;
line-height: 1.1;
}

&:hover,
Expand Down
4 changes: 2 additions & 2 deletions app/views/search/results.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@
<main id="results" class="col3q wrap-results">
<% if @results.present? %>
<h2 class="hd-3 results-context"><%= results_summary(@pagination[:hits]) %> returned</h2>
<ul class="results-list list-unbulleted" start="<%= @pagination[:start] %>">
<ol class="results-list" start="<%= @pagination[:start] %>">
<% if Flipflop.enabled?(:gdt) %>
<%= render(partial: 'search/result_geo', collection: @results) %>
<% else %>
<%= render(partial: 'search/result', collection: @results) %>
<% end %>
</ul>
</ol>
<% else %>
<div class="no-results">
<p class="hd-2">No results found for your search</p>
Expand Down

0 comments on commit c7822bd

Please sign in to comment.