Skip to content

Commit

Permalink
Adjust template paddings for improved layout consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Nov 23, 2024
1 parent 9404523 commit e09db0d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
20 changes: 9 additions & 11 deletions resources/views/layouts/persona.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<a href="{{ $url }}">
<div class="d-sm-flex flex-row flex-wrap align-items-center">
@empty(!$image)
<span class="thumb-sm avatar me-sm-3 ms-md-0 me-xl-3 d-none d-md-inline-block">
<img src="{{ $image }}" class="bg-light">
</span>
@endempty
<div class="mt-2 mt-sm-0 mt-md-2 mt-xl-0">
<p class="mb-0">{{ $title }}</p>
<small class="text-muted">{{ $subTitle }}</small>
</div>
<a href="{{ $url }}" class="d-flex align-items-center gap-md-3">
@empty(!$image)
<span class="thumb-sm avatar d-none d-md-inline-block">
<img src="{{ $image }}" class="bg-light">
</span>
@endempty
<div class="text-balance">
<p class="mb-0">{{ $title }}</p>
<small class="text-muted">{{ $subTitle }}</small>
</div>
</a>
4 changes: 2 additions & 2 deletions resources/views/partials/profile.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="profile-container d-flex align-items-stretch p-3 rounded lh-sm position-relative overflow-hidden">

<a href="{{ route(config('platform.profile', 'platform.profile')) }}" class="col-10 d-flex align-items-center me-3">
<a href="{{ route(config('platform.profile', 'platform.profile')) }}" class="col-10 d-flex align-items-center gap-3">
@if($image = Auth::user()->presenter()->image())
<img src="{{$image}}" alt="{{ Auth::user()->presenter()->title()}}" class="thumb-sm avatar b me-3" type="image/*">
<img src="{{$image}}" alt="{{ Auth::user()->presenter()->title()}}" class="thumb-sm avatar b" type="image/*">
@endif

<small class="d-flex flex-column lh-1 col-9">
Expand Down

0 comments on commit e09db0d

Please sign in to comment.