Commit aa7524c2 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: fix logo position when it has descirption

parent 51c2c935
......@@ -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>
......
......@@ -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 .1em 0;
padding: .5em .5em .4em 0;
}
.ci-letter .ci-letter-bar-logo {
text-align: left;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment