fix mobile view for asset and user

This commit is contained in:
Godfrey M 2024-11-26 10:59:31 -08:00
parent 021e82927e
commit 15c9df0ab1
2 changed files with 9 additions and 6 deletions

View file

@ -878,9 +878,6 @@ th.css-component > .th-inner::before
.info-stack-container { .info-stack-container {
flex-direction: column; flex-direction: column;
} }
.row-new-striped div {
width:100%;
}
.col-md-3.col-xs-12.col-sm-push-9.info-stack{ .col-md-3.col-xs-12.col-sm-push-9.info-stack{
left:auto; left:auto;
order:1; order:1;
@ -894,6 +891,12 @@ th.css-component > .th-inner::before
float:none; float:none;
} }
} }
@media screen and (max-width: 992px){
.row-new-striped div{
width:100%;
}
}
@media screen and (max-width: 1318px) and (min-width: 1200px){ @media screen and (max-width: 1318px) and (min-width: 1200px){
.admin.box{ .admin.box{
height:170px; height:170px;

View file

@ -309,10 +309,10 @@
<div class="row"> <div class="row">
<!-- name --> <!-- name -->
<div class="col-md-3 col-sm-2"> <div class="col-md-3">
{{ trans('admin/users/table.name') }} {{ trans('admin/users/table.name') }}
</div> </div>
<div class="col-md-9 col-sm-2"> <div class="col-md-9">
{{ $user->present()->fullName() }} {{ $user->present()->fullName() }}
</div> </div>
@ -751,7 +751,7 @@
{{Helper::formatCurrencyOutput($user->getUserTotalCost()->total_user_cost)}} {{Helper::formatCurrencyOutput($user->getUserTotalCost()->total_user_cost)}}
<a id="optional_info" class="text-primary"> <a id="optional_info" class="text-primary">
<x-icon type="caret-right" id="optional_info_icon" /></i> <x-icon type="caret-right" id="optional_info_icon" />
<strong>{{ trans('admin/hardware/form.optional_infos') }}</strong> <strong>{{ trans('admin/hardware/form.optional_infos') }}</strong>
</a> </a>
</div> </div>