Skip to content

Commit

Permalink
chore: Improve menu item styling and spacing in project index and sho…
Browse files Browse the repository at this point in the history
…w views
  • Loading branch information
andrasbacsai committed May 6, 2024
1 parent a54f0ed commit 5e44a61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions resources/views/livewire/project/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
<div class="subtitle">All your projects are here.</div>
<div class="grid gap-2 lg:grid-cols-2">
@forelse ($projects as $project)
<div class="box group" x-data
x-on:click="goto('{{ $project->uuid }}')">
<div class="box group" x-data x-on:click="goto('{{ $project->uuid }}')">
<a class="flex flex-col justify-center flex-1 mx-6"
href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}">
<div class="box-title">{{ $project->name }}</div>
<div class="box-description ">
{{ $project->description }}</div>
</a>
<div class="flex items-center text-xs">
<div class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal">
<a class="mx-4 font-bold hover:underline"
href="{{ route('project.edit', ['project_uuid' => data_get($project, 'uuid')]) }}">
Settings
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/project/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="description">
{{ $environment->description }}</div>
</a>
<div class="flex items-center text-xs">
<div class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal">
<a class="mx-4 font-bold hover:underline"
href="{{ route('project.environment.edit', ['project_uuid' => data_get($project, 'uuid'), 'environment_name' => $environment->name]) }}">
Settings
Expand Down

0 comments on commit 5e44a61

Please sign in to comment.