Skip to content

Commit e616f95

Browse files
authored
Merge pull request #190 from MITLibraries/gdt-319-ux-feedback
Implement UX feedback on access link sidebar
2 parents dbcbc68 + dc54ccf commit e616f95

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/assets/stylesheets/partials/_record.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.wrap-full-record {
2+
margin-top: 2.4rem;
3+
24
.record-title {
35
font-size: 2.5rem;
46
line-height: 1.1;
@@ -48,7 +50,7 @@
4850
}
4951

5052
.return-to-results {
51-
padding: 1.5% 0;
53+
padding-top: 2.4rem;
5254
a {
5355
padding: 1.5%;
5456
color: $blue;
@@ -68,5 +70,8 @@
6870
}
6971

7072
.access-sidebar {
73+
@media (max-width: $bp-screen-md) {
74+
margin-top: 2.4rem;
75+
}
7176
padding-top: 3%;
7277
}

app/views/record/_sidebar.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% if Flipflop.enabled?(:gdt) %>
2-
<div role="region" aria-label="Access links and additional information" class="col1q-r sidebar access-sidebar">
2+
<div role="region" aria-label="Access and help links" class="col1q-r sidebar access-sidebar">
33
<% else %>
44
<aside class="col1q-r sidebar">
55
<% end %>
@@ -13,7 +13,7 @@
1313
<% end %>
1414

1515
<% if Flipflop.enabled?(:gdt) && access_type(@record) && gis_access_link(@record) %>
16-
<h2 class="title hd-4">Access links</h2>
16+
<h2 class="hd-3">Access links</h2>
1717
<%= render partial: 'access_buttons' %>
1818
<% end %>
1919

0 commit comments

Comments
 (0)