Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
e2b52c2d
Commit
e2b52c2d
authored
Feb 25, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: html viewer: do not limit the width of the html
parent
ccaf8877
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_html_viewer.css.css
...ateItem/portal_skins/erp5_core/gadget_html_viewer.css.css
+0
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_html_viewer.less.txt
...teItem/portal_skins/erp5_core/gadget_html_viewer.less.txt
+2
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_html_viewer.css.css
View file @
e2b52c2d
div
[
data-gadget-url
$
=
"gadget_html_viewer.html"
]
{
div
[
data-gadget-url
$
=
"gadget_html_viewer.html"
]
{
max-width
:
50em
;
display
:
block
;
display
:
block
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
font-family
:
'Open Sans'
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
'Open Sans'
,
Helvetica
,
Arial
,
sans-serif
;
text-align
:
justify
;
}
}
div
[
data-gadget-url
$
=
"gadget_html_viewer.html"
]
canvas
,
div
[
data-gadget-url
$
=
"gadget_html_viewer.html"
]
canvas
,
div
[
data-gadget-url
$
=
"gadget_html_viewer.html"
]
img
,
div
[
data-gadget-url
$
=
"gadget_html_viewer.html"
]
img
,
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_html_viewer.less.txt
View file @
e2b52c2d
...
@@ -13,12 +13,12 @@
...
@@ -13,12 +13,12 @@
div[data-gadget-url$="gadget_html_viewer.html"] {
div[data-gadget-url$="gadget_html_viewer.html"] {
max-width: 50em;
// max-width: 50em;
// text-align: justify;
display: block;
display: block;
word-wrap: break-word;
word-wrap: break-word;
font-family: @sans-serif;
font-family: @sans-serif;
text-align: justify;
canvas, img, iframe, svg {
canvas, img, iframe, svg {
max-width: 100%;
max-width: 100%;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment