1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Add styles for Textile/Markdown attachments preview (#29752).

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18585 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-10-03 00:32:33 +00:00
parent 3ce678510e
commit cffc5d6a12
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,3 @@
<div class="wiki"> <div class="filecontent wiki">
<%= Redmine::WikiFormatting.to_html(markup_text_formatting, Redmine::CodesetUtil.to_utf8_by_setting(markup_text)).html_safe %> <%= Redmine::WikiFormatting.to_html(markup_text_formatting, Redmine::CodesetUtil.to_utf8_by_setting(markup_text)).html_safe %>
</div> </div>

View File

@ -1740,6 +1740,13 @@ img {
max-width: 100%; max-width: 100%;
} }
.filecontent-container > .filecontent.wiki {
position: relative;
padding: 1em;
border: 1px solid #e4e4e4;
border-radius: 3px;
}
/* Fixes for IE 11 */ /* Fixes for IE 11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
select::-ms-expand { select::-ms-expand {