-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove row > row nesting #1401
Remove row > row nesting #1401
Conversation
This fixes some alignment issues and removes some redundant classes. Closes #1318 See also geoblacklight/geoblacklight#1607
Easier to review with "hide whitespace" turned on. |
<% if (@document.image? || @document.item_viewer.iiif) && !@document[Settings.FIELDS[:GEOREFERENCED]] %> | ||
<%= render AlertComponent.new(type: 'info', body: t('earthworks.show.no_georeference_message')) %> | ||
<% end %> | ||
<%= render Geoblacklight::ViewerContainerComponent.new(document: @document) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -2,7 +2,7 @@ module EarthworksBlacklightHelper | |||
include Blacklight::LayoutHelperBehavior | |||
# Blacklight override for show main content | |||
def show_content_classes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this method override now? https://github.com/projectblacklight/blacklight/blob/c4ce13eee7eb0819c72f35a46db4eb565e6dfaa6/app/helpers/blacklight/layout_helper_behavior.rb#L32C1-L34C8 This seems to override with would almost be the same as the default now. Provided that
'col-md-9 col-lg-10' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes some alignment issues and removes some redundant
classes.
Closes #1318
See also geoblacklight/geoblacklight#1607