Rework all section headers to deal with mobile wrapping

This commit is contained in:
Johannes Zellner
2024-10-15 18:46:51 +02:00
parent 4685f42045
commit 8cf3e38b27
15 changed files with 253 additions and 340 deletions

View File

@@ -387,9 +387,7 @@
<div class="content">
<div class="text-left">
<h1>{{ 'profile.title' | tr }}</h1>
</div>
<h1 class="section-header">{{ 'profile.title' | tr }}</h1>
<div class="card">
<div style="display: flex; flex-wrap: wrap;">
@@ -450,11 +448,7 @@
</div>
</div>
<br>
<div class="text-left">
<h3>{{ 'profile.appPasswords.title' | tr }}<button class="btn btn-primary btn-sm pull-right" ng-click="appPasswordAdd.show()"><i class="fa fa-plus"></i> {{ 'profile.appPasswords.newPassword' | tr }}</button></h3>
</div>
<h3 class="section-header">{{ 'profile.appPasswords.title' | tr }}<button class="btn btn-primary btn-sm pull-right" ng-click="appPasswordAdd.show()"><i class="fa fa-plus"></i> {{ 'profile.appPasswords.newPassword' | tr }}</button></h3>
<div class="card">
<div class="grid-item-top">
@@ -491,11 +485,7 @@
</div>
</div>
<br ng-show="user.isAtLeastAdmin"/>
<div class="text-left" ng-show="user.isAtLeastAdmin">
<h3>{{ 'profile.apiTokens.title' | tr }} <button class="btn btn-primary btn-sm pull-right" ng-click="tokens.add.show()"><i class="fa fa-plus"></i> {{ 'profile.apiTokens.newApiToken' | tr }}</button></h3>
</div>
<h3 class="section-header" ng-show="user.isAtLeastAdmin">{{ 'profile.apiTokens.title' | tr }} <button class="btn btn-primary btn-sm pull-right" ng-click="tokens.add.show()"><i class="fa fa-plus"></i> {{ 'profile.apiTokens.newApiToken' | tr }}</button></h3>
<div class="card" ng-show="user.isAtLeastAdmin">
<div class="grid-item-top">
@@ -538,11 +528,7 @@
</div>
</div>
<br/>
<div class="text-left">
<h3>{{ 'profile.loginTokens.title' | tr }}</h3>
</div>
<h3 class="section-header">{{ 'profile.loginTokens.title' | tr }}</h3>
<div class="card">
<div class="grid-item-top">