Cek this code :
@section('content')
<div id="page"> <div class="container"> <section id="container" v-show="visiblePage"> <div class="row"> <div class="col-sm-4"> <img src="{{url('')}}/images/binder.png"> </div> <div class="col-sm-4" style="background-color: #f8f8f8; height: auto;"> <br> <ul class="b">
@foreach( $pages as $p)
<li><a href="{{url('')}}/home/pages/{{ $p->id }}">{{ $p->pages_name }}</a><br>
@endforeach
</ul> </div> <div class="col-sm-4" style="background-color: white; height: auto;"> <center><b>{{ $pages2->pages_title }}</b></center><br>
{!! $pages2->pages_content !!}
</div> </section> </div>
@endsection
I expect that the height will be 600px on "pc only" and auto on mobile, but how?
<div class="col-sm-4" style="background-color: #f8f8f8; height: auto;">
Right now, it adjust the color according to the text which makes the colorful container looks shrink.