Skip to content

Commit e31b50d

Browse files
committed
Preferences: Fixed section screen flexibility
Improved wrapping and flex control to prevent button text force wrapping to newlines. For #4502
1 parent 817581a commit e31b50d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

resources/views/users/preferences/index.blade.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@section('body')
44
<div class="container small my-xl">
55

6-
<section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row">
7-
<div>
6+
<section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row wrap">
7+
<div class="flex min-width-m">
88
<h2 class="list-heading">{{ trans('preferences.shortcuts_interface') }}</h2>
99
<p class="text-muted">{{ trans('preferences.shortcuts_overview_desc') }}</p>
1010
</div>
@@ -14,8 +14,8 @@
1414
</section>
1515

1616
@if(signedInUser() && userCan('receive-notifications'))
17-
<section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row">
18-
<div>
17+
<section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row wrap">
18+
<div class="flex min-width-m">
1919
<h2 class="list-heading">{{ trans('preferences.notifications') }}</h2>
2020
<p class="text-muted">{{ trans('preferences.notifications_desc') }}</p>
2121
</div>
@@ -26,8 +26,8 @@
2626
@endif
2727

2828
@if(signedInUser())
29-
<section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row">
30-
<div>
29+
<section class="card content-wrap auto-height items-center justify-space-between gap-m flex-container-row wrap">
30+
<div class="flex min-width-m">
3131
<h2 class="list-heading">{{ trans('settings.users_edit_profile') }}</h2>
3232
<p class="text-muted">{{ trans('preferences.profile_overview_desc') }}</p>
3333
</div>

0 commit comments

Comments
 (0)