Merge pull request #9761 from opf/fix/39171-Help-text-modal-text-cut-off

[39171] Help text modal text cut off
pull/9763/head
Henriette Darge 3 years ago committed by GitHub
commit d7fa8cbf82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      frontend/src/global_styles/content/user-content/_index.sass
  2. 3
      modules/documents/app/views/documents/show.html.erb

@ -13,7 +13,9 @@
--op-uc-heading-base: 1.8rem --op-uc-heading-base: 1.8rem
--op-uc-heading-falloff: 0.85 --op-uc-heading-falloff: 0.85
display: block display: block
overflow: hidden overflow-x: hidden
overflow-y: auto
@include styled-scroll-bar
font-size: var(--wiki-default-font-size) font-size: var(--wiki-default-font-size)
z-index: 0 z-index: 0
padding-bottom: 1rem padding-bottom: 1rem
@ -28,4 +30,3 @@
&_no-permalinks *:hover .op-uc-link_permalink &_no-permalinks *:hover .op-uc-link_permalink
display: none display: none

@ -48,9 +48,8 @@ See docs/COPYRIGHT.rdoc for more details.
<% end %> <% end %>
<% end %> <% end %>
<div class="wiki"> <div class="wiki op-uc-container">
<%= format_text @document.description, attachments: @document.attachments %> <%= format_text @document.description, attachments: @document.attachments %>
</div> </div>
<%= list_attachments(api_v3_document_resource(@document)) %> <%= list_attachments(api_v3_document_resource(@document)) %>

Loading…
Cancel
Save