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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yusei Tahara
erp5
Commits
aa7524c2
Commit
aa7524c2
authored
Aug 20, 2020
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: fix logo position when it has descirption
parent
51c2c935
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterHeader.zpt
...ins/erp5_corporate_identity/Letter_createLetterHeader.zpt
+1
-1
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/letter.pdf.css.css
...s/erp5_corporate_identity/template_css/letter.pdf.css.css
+4
-1
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Letter_createLetterHeader.zpt
View file @
aa7524c2
...
...
@@ -61,7 +61,7 @@ Generates the letter header
<tal:block
metal:define-macro=
"letter_header"
>
<div
class=
"ci-letter-header"
>
<div
class=
"ci-letter-bar"
>
<div
class=
"ci-letter-bar-logo
"
>
<div
tal:attributes=
"class python: 'ci-letter-bar-logo' if letter_theme_logo_alt else 'ci-letter-bar-logo ci-letter-bar-logo-without-description'
"
>
<img
tal:attributes=
"src python: letter_theme_logo_url;
alt python: letter_theme_logo_alt"
/>
<span
tal:content=
"letter_theme_logo_alt"
></span>
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/letter.pdf.css.css
View file @
aa7524c2
...
...
@@ -59,8 +59,11 @@ html {
.ci-letter
.ci-letter-header
.ci-letter-bar-logo
{
margin-left
:
5%
;
}
.ci-letter
.ci-letter-bar-logo.ci-letter-bar-logo-without-description
{
padding
:
.5em
.5em
.15em
0
;
}
.ci-letter
.ci-letter-bar-logo
{
padding
:
.5em
.5em
.
1
em
0
;
padding
:
.5em
.5em
.
4
em
0
;
}
.ci-letter
.ci-letter-bar-logo
{
text-align
:
left
;
...
...
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