Api: Change app placeholders list to use some more horizontal space, stop hiding common & user placeholders

This commit is contained in:
nathan 2021-10-20 15:26:39 -06:00
parent 82423d60bb
commit 3f5af3eeb2

View File

@ -26,22 +26,18 @@
</box> </box>
</box> </box>
<template template="@extra_template"/> <template template="@extra_template"/>
<details title="Common">
<description value="Common" class="group title"/> <description value="Common" class="group title"/>
<box id="common"> <box id="common">
<box id="${row}"> <box id="${row}">
<template template="api.show_replacements.placeholder_list"/> <template template="api.show_replacements.placeholder_list"/>
</box> </box>
</box> </box>
</details>
<details title="Current user">
<description value="Current user" class="group title"/> <description value="Current user" class="group title"/>
<box id="user"> <box id="user">
<box id="${row}"> <box id="${row}">
<template template="api.show_replacements.placeholder_list"/> <template template="api.show_replacements.placeholder_list"/>
</box> </box>
</box> </box>
</details>
</vbox> </vbox>
<styles> <styles>
.et2_details_title, .title { .et2_details_title, .title {
@ -60,6 +56,17 @@
#api-show_replacements_title:first-letter, .title { #api-show_replacements_title:first-letter, .title {
text-transform: capitalize; text-transform: capitalize;
} }
div#api-show_replacements_placeholders, #api-show_replacements_common, #api-show_replacements_user {
display: flex;
flex-wrap: wrap;
gap: 10px 20px;
}
div[id^="api-show_replacements"] {
min-width: 350px;
}
table#api-show_replacements_placeholders > tbody > tr > td:first-child {
padding-right: 5em;
}
</styles> </styles>
</template> </template>
</overlay> </overlay>