From 094e432433aa034e502955e0393554b9b1a2eb90 Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 23 Jun 2021 12:25:10 +0100 Subject: [PATCH] playing with mobile display for tables --- public/css/jk.css | 12 ++++-------- resources/views/beers/index.blade.php | 4 ++-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/public/css/jk.css b/public/css/jk.css index f63dcc8..80abe97 100644 --- a/public/css/jk.css +++ b/public/css/jk.css @@ -10,20 +10,16 @@ text-align: right; float:right; } -#editbuttons{ - list-style:none; -} -#editbuttons li{ - list-style:none; - padding: 15px; -} #navline1, #navline2{ text-align:center; padding:10px; } +.editbutton, .deletebutton{ + display:inline; +} @media (max-width:575.98px){ .col-md-12{ - + } } diff --git a/resources/views/beers/index.blade.php b/resources/views/beers/index.blade.php index 1652b8f..9b1b783 100644 --- a/resources/views/beers/index.blade.php +++ b/resources/views/beers/index.blade.php @@ -32,11 +32,11 @@ {{$beer->brewery}} {{$beer->type}} @if (Auth::user()->isAdmin()) -Edit +Edit
@csrf @method('DELETE') - +
@endif