diff --git a/app/assets/stylesheets/earthworks.css b/app/assets/stylesheets/earthworks.css index 62eae128..6b30e23b 100644 --- a/app/assets/stylesheets/earthworks.css +++ b/app/assets/stylesheets/earthworks.css @@ -164,6 +164,21 @@ Uncomment lines 142-144 --bs-pagination-focus-bg: none; --bs-pagination-focus-box-shadow: none; } + +/* Styles for search result description expand/collapse */ + +.expand-collapse .btn-outline-secondary { + display: flex; + &.active { + color: white; + background-color:var(--stanford-cardinal); + } +} + +.expand-collapse i { + align-self: center; +} + /* Styles for code snippet */ .code-snippet-content { diff --git a/app/components/earthworks/search_result_component.html.erb b/app/components/earthworks/search_result_component.html.erb index 3a63fc9b..de10cef8 100644 --- a/app/components/earthworks/search_result_component.html.erb +++ b/app/components/earthworks/search_result_component.html.erb @@ -24,7 +24,7 @@ <% end %> <% end %>