Skip to content

Commit fda8055

Browse files
authored
Merge pull request #744 from Thoth2023/develop
Develop
2 parents 5cea9cf + 8b89bcc commit fda8055

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

resources/views/pages/user-management.blade.php

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
text-transform: uppercase;
2020
letter-spacing: 0.05em;
2121
border-bottom: 2px solid #dee2e6;
22+
white-space: nowrap;
2223
}
2324
2425
.table tbody tr:hover {
@@ -36,6 +37,15 @@
3637
margin-bottom: 0;
3738
}
3839
40+
/* ---------- Limitar largura e quebrar linha ---------- */
41+
.col-name, .col-institution {
42+
max-width: 220px;
43+
white-space: normal !important;
44+
word-wrap: break-word;
45+
overflow-wrap: break-word;
46+
}
47+
48+
/* ---------- Ajustes visuais ---------- */
3949
.btn-action {
4050
min-width: 90px;
4151
border-radius: 6px;
@@ -46,7 +56,6 @@
4656
overflow-y: auto;
4757
}
4858
49-
/* Scroll suave dentro da div */
5059
.table-responsive::-webkit-scrollbar {
5160
width: 6px;
5261
}
@@ -56,15 +65,16 @@
5665
border-radius: 3px;
5766
}
5867
59-
.card-header h6 {
68+
.card-header h5 {
6069
font-weight: 700;
6170
margin-bottom: 0;
6271
}
6372
</style>
73+
6474
<div class="container mt-4 mb-3">
6575
<div class="page-header d-flex flex-column pt-4 pb-2 border-radius-lg">
6676
<div
67-
class="row justify-content-center rounded-3 py-4 bg-gradient-faded-dark opacity-8 "
77+
class="row justify-content-center rounded-3 py-4 bg-gradient-faded-dark opacity-8"
6878
style="width: 100%"
6979
>
7080
<div class="col-lg-6 text-center mx-auto">
@@ -79,6 +89,7 @@ class="row justify-content-center rounded-3 py-4 bg-gradient-faded-dark opacity-
7989
</div>
8090
</div>
8191
</div>
92+
8293
<div class="row mt-1 mx-4">
8394
<div class="col-12">
8495
<div class="card mb-4 table-wrapper">
@@ -92,20 +103,20 @@ class="row justify-content-center rounded-3 py-4 bg-gradient-faded-dark opacity-
92103
<div class="card-body px-0 pt-0 pb-3">
93104
<div class="table-responsive">
94105
<table class="table table-hover align-items-center mb-0">
95-
<thead >
106+
<thead>
96107
<tr>
97-
<th>{{ __("pages/user-manager.Name") }}</th>
108+
<th class="col-name">{{ __("pages/user-manager.Name") }}</th>
98109
<th>{{ __("pages/user-manager.Role") }}</th>
99-
<th>{{ __("pages/user-manager.Institution") }}</th>
100-
<th>{{ __("pages/user-manager.Country") }}</th>
101-
<th>{{ __("pages/user-manager.Status") }}</th>
110+
<th class="col-institution text-center">{{ __("pages/user-manager.Institution") }}</th>
111+
<th class="text-center">{{ __("pages/user-manager.Country") }}</th>
112+
<th class="text-center">{{ __("pages/user-manager.Status") }}</th>
102113
<th class="text-center">{{ __("pages/user-manager.Actions") }}</th>
103114
</tr>
104115
</thead>
105116
<tbody>
106117
@foreach ($users as $user)
107118
<tr>
108-
<td>
119+
<td class="col-name">
109120
<h6>{{ $user->firstname }} {{ $user->lastname }}</h6>
110121
</td>
111122
<td>
@@ -117,7 +128,7 @@ class="row justify-content-center rounded-3 py-4 bg-gradient-faded-dark opacity-
117128
<span class="badge bg-info text-dark">{{ $user->role }}</span>
118129
@endif
119130
</td>
120-
<td class="text-center">
131+
<td class="col-institution text-center">
121132
<span>{{ $user->institution }}</span>
122133
</td>
123134
<td class="text-center">

0 commit comments

Comments
 (0)