mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-24 17:33:48 +01:00
LSaddon::mail: improve CSS of templates editor view
This commit is contained in:
parent
557db5d456
commit
5e9773a015
2 changed files with 9 additions and 5 deletions
|
@ -19,8 +19,8 @@ div.LStabs_content form div.form-footer {
|
|||
margin-top: 1em;
|
||||
}
|
||||
|
||||
th.mail_subject {
|
||||
width: 10em;
|
||||
th.mail_subject, td.mail_subject {
|
||||
width: 20vw;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
@ -32,8 +32,9 @@ th.mail_content, td.mail_content {
|
|||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
th.mail_subject {
|
||||
widht: auto;
|
||||
th.mail_subject, td.mail_subject {
|
||||
width: auto;
|
||||
max-width: 30vw;
|
||||
}
|
||||
th.mail_content, td.mail_content {
|
||||
max-width: 12em;
|
||||
|
@ -41,6 +42,9 @@ th.mail_content, td.mail_content {
|
|||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
th.mail_subject, td.mail_subject {
|
||||
max-width: 50vw;
|
||||
}
|
||||
th.mail_content, td.mail_content {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{foreach $templates as $name => $tpl}
|
||||
<tr class="{cycle values=",bis"}">
|
||||
<td><a href="addon/mail/templates?name={$name|escape:"url"}">{$name}</td>
|
||||
<td>{$tpl.subject|escape:"htmlall"}</td>
|
||||
<td class="mail_subject">{$tpl.subject|escape:"htmlall"}</td>
|
||||
<td class="mail_content">{$tpl.html|escape:"htmlall"}</td>
|
||||
<td class="mail_content">{$tpl.txt|escape:"htmlall"}</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue