Add styles for field labels in profile view

This commit is contained in:
Lance Edgar 2021-02-10 11:35:05 -06:00
parent f58b065316
commit eaf929474f

View file

@ -1,6 +1,16 @@
## -*- coding: utf-8; -*- ## -*- coding: utf-8; -*-
<%inherit file="/master/view.mako" /> <%inherit file="/master/view.mako" />
<%def name="extra_styles()">
${parent.extra_styles()}
<style type="text/css">
.field.is-horizontal .field-label .label {
white-space: nowrap;
min-width: 10rem;
}
</style>
</%def>
<%def name="page_content()"> <%def name="page_content()">
<profile-info @change-content-title="changeContentTitle"> <profile-info @change-content-title="changeContentTitle">
</profile-info> </profile-info>