0

Problem: When I override my voyager view using a custom controller. I am getting a padding problem at the top: problem

Desired output This is how it should be: output

My code browse.blade.php

@extends('voyager::master')

@section('content')

    @foreach($exploitants as $exploitant)
        {{ $exploitant->exp_nom }}<br>
    @endforeach

@endsection>
Maxime Barber
  • 101
  • 1
  • 2
  • 10

1 Answers1

0

Don't use <br> inside a loop. It might the one causing the problem. Every browser interpret <br> differently. Try using a fixed px margins instead.

And change @endsection> to @endsection

Amitoz Deol
  • 442
  • 5
  • 16