Add styling for ul elements
MODIFY
public/style.css
public/style.css
@@ -26,6 +26,18 @@ a {
padding: 32px;
}
+ul.box__section {
+ list-style: none;
+}
+
+ul.box__section li {
+ padding: 32px 0 0;
+}
+
+ul.box__section li:first-child {
+ padding: 0;
+}
+
label, input {
display: block;
}

MODIFY
resources/views/dashboard.blade.php
resources/views/dashboard.blade.php
@section('body')
<h1>Spendings</h1>
<div class="box">
- <div class="box__section">
- <ul>
+ <ul class="box__section">
@foreach (Auth::user()->spendings as $spending)
<li>{{ $spending->description }}</li>
@endforeach
</ul>
</div>
- </div>
@endsection

Add styling for ul elements