@extends('admin.knowledge.index')

@section('sub_content')
    <div class="knowledge-details-body">
        @if ($knowledge->subtitle)
            <h6 class="mb-4">{{ __($knowledge->subtitle) }}</h6>
        @endif
        @php
            echo $knowledge->description;
        @endphp
    </div>
@endsection


@push('style')
    <style>
        .knowledge-details-body :is(ul, ol) {
            list-style: circle;
            padding-left: 20px;
            margin-bottom: 20px;
        }

        .knowledge-details-body :is(ul, ol) li {
            margin-bottom: 10px;
        }

        .knowledge-details-body p,
        .knowledge-details-body h1,
        .knowledge-details-body h2,
        .knowledge-details-body h3,
        .knowledge-details-body h4,
        .knowledge-details-body h5,
        .knowledge-details-body h6 {
            margin-bottom: 1.5rem !important;
        }
    </style>
@endpush