-
Notifications
You must be signed in to change notification settings - Fork 150
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
ui: fix banners overlapping #2947
ui: fix banners overlapping #2947
Conversation
&.manage { | ||
padding: 1em 0; | ||
} | ||
&.record-banner { |
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.
why is a new class needed? can't we apply this to the flashed message directly?
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.
also, shouldn't it be in invenio-theme?
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.
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.
sorry, it took me some time to understand the implications.
if I managed to understand correctly, the fix will work only for the record detail page, what if we have the banner in other pages? f.e. community form has an error?
if that is the case, could you propose a solution which is more generic and works for all cases, not only for a record?
c7ad332
to
9ce4b61
Compare
@@ -104,7 +104,7 @@ | |||
|
|||
<!-- PREVIEW HEADER --> | |||
{% if is_preview %} | |||
<div class="ui info flashed bottom attached manage message"> | |||
<div class="ui info flashed bottom attached manage message record-banner"> |
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.
since you moved the css to invenio theme, you should also propagate the template changes to the invenio-theme templates, otherwise it will be fixed only here in the record details template of app rdm
Closes: CERNDocumentServer/cds-rdm#296
Page banner:
"Newer version" record banner:
Error record banner:
"Preview" record banner