fix(profile): Tweak CSS so that the group names don't overflow
We do not really lose any information as all groups end with `@sso.dgnum.eu`
This commit is contained in:
parent
26fdcbe8ef
commit
0c54fd29ab
2 changed files with 8 additions and 1 deletions
5
src/shared/static/bulma/bulma.scss
vendored
5
src/shared/static/bulma/bulma.scss
vendored
|
@ -37,6 +37,11 @@ body {
|
|||
--bulma-grid-column-min: 24rem;
|
||||
}
|
||||
|
||||
.groups > .button > span {
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#notifications {
|
||||
margin-left: -0.75rem;
|
||||
margin-right: -0.75rem;
|
||||
|
|
|
@ -41,7 +41,9 @@
|
|||
|
||||
<div class="grid groups">
|
||||
{% for group in user.kanidm.person.memberof %}
|
||||
<span class="cell button is-fullwidth is-static">{{ group }}</span>
|
||||
<div class="cell button is-static">
|
||||
<span>{{ group }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in a new issue