Add lock icon at the beginning of text

This commit is contained in:
DianaXWiki 2026-08-20 10:52:51 +02:00
parent 7eda1715cb
commit e9f813b8e1
2 changed files with 4 additions and 2 deletions

View File

@ -218,7 +218,9 @@
.cp-form-view-footer-text {
text-align: center;
svg.cp-form-footer-icon {
margin: 0 0 0.2rem 0.2rem;
margin: 0 0.3rem 0.1rem 0;
width: 1em;
vertical-align: text-bottom;
color: @cryptpad_color_brand;
}
a {

View File

@ -3347,7 +3347,7 @@ define([
APP.framework._.sfCommon.gotoURL('/');
});
var content = UI.setHTML(h('div.cp-form-block.cp-form-view-footer-text'), Messages.form_footerInfo);
content.appendChild(Icons.get('form', { 'class': 'cp-form-footer-icon', 'aria-hidden': true }));
content.insertBefore(Icons.get('lock', {'class': 'cp-form-footer-icon', 'aria-hidden': true}), content.firstChild);
var footer = h('div.cp-form-view-footer', [content, logo]);
return footer;
};