mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +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;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
th.mail_subject {
|
th.mail_subject, td.mail_subject {
|
||||||
width: 10em;
|
width: 20vw;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,9 @@ th.mail_content, td.mail_content {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
th.mail_subject {
|
th.mail_subject, td.mail_subject {
|
||||||
widht: auto;
|
width: auto;
|
||||||
|
max-width: 30vw;
|
||||||
}
|
}
|
||||||
th.mail_content, td.mail_content {
|
th.mail_content, td.mail_content {
|
||||||
max-width: 12em;
|
max-width: 12em;
|
||||||
|
@ -41,6 +42,9 @@ th.mail_content, td.mail_content {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
|
th.mail_subject, td.mail_subject {
|
||||||
|
max-width: 50vw;
|
||||||
|
}
|
||||||
th.mail_content, td.mail_content {
|
th.mail_content, td.mail_content {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
{foreach $templates as $name => $tpl}
|
{foreach $templates as $name => $tpl}
|
||||||
<tr class="{cycle values=",bis"}">
|
<tr class="{cycle values=",bis"}">
|
||||||
<td><a href="addon/mail/templates?name={$name|escape:"url"}">{$name}</td>
|
<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.html|escape:"htmlall"}</td>
|
||||||
<td class="mail_content">{$tpl.txt|escape:"htmlall"}</td>
|
<td class="mail_content">{$tpl.txt|escape:"htmlall"}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue