diff --git a/app/views/vehicles/index.php b/app/views/vehicles/index.php index 6326ce3..4501970 100644 --- a/app/views/vehicles/index.php +++ b/app/views/vehicles/index.php @@ -3,17 +3,21 @@ get('vehicles'))): ?>

No vehicles yet. Add your first vehicle.

+
+ Add new vehicle! +
get('vehicles') as $vehicle): ?>
- Edit | - Delete +

+

+
+ Edit + Delete +
- -
- Add new vehicle! diff --git a/public/css/habits_dashboard.css b/public/css/habits_dashboard.css deleted file mode 100644 index 9ee54e9..0000000 --- a/public/css/habits_dashboard.css +++ /dev/null @@ -1,15 +0,0 @@ -.habits-wrapper { - display: flex; - gap: 1rem; - flex-wrap: wrap; - justify-content: center; -} - -.habits .bordered { - border-radius: var(--border-radious); - border: var(--borderWidth-thin) solid var(--clr-border); - width: 17rem; - padding: 1rem; - margin-top: 1rem; - text-align: center; -} diff --git a/public/css/vehicles.css b/public/css/vehicles.css new file mode 100644 index 0000000..c6b6102 --- /dev/null +++ b/public/css/vehicles.css @@ -0,0 +1,29 @@ +.vehicle-wrapper { + align-items: center; + display: flex; + flex-wrap: wrap; + gap: 1rem; + justify-content: center; +} + +.vehicle { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + background-color: var(--clr-secondary); + border-radius: var(--border-radious); + border: var(--borderWidth-thin) solid var(--clr-border); + width: 17rem; + padding: 1rem; + margin-top: 1rem; + text-align: center; + min-height: 8rem; +} + +.btn-wrapper { + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 1rem; +}