Merge pull request #273 from hellcp/patch-22

Make mobile cards flush
This commit is contained in:
daniel 2018-06-17 21:48:19 -06:00 committed by GitHub
commit 154cd4815d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 19 deletions

View file

@ -79,9 +79,9 @@
</div> </div>
</nav> </nav>
@auth @auth
<nav class="breadcrumb d-md-none d-flex"> <nav class="breadcrumb d-md-none d-flex m-0">
<form class="form-inline search-form mx-auto"> <form class="form-inline search-form mx-auto">
<input class="form-control mr-sm-2 search-form-input" type="search" placeholder="Search" aria-label="Search"> <input class="form-control mr-sm-2 search-form-input" type="search" placeholder="Search" aria-label="Search">
</form> </form>
</nav> </nav>
@endauth @endauth

View file

@ -1,4 +1,4 @@
<div class="card my-4 status-card"> <div class="card my-4 status-card card-md-rounded-0">
<div class="card-header d-inline-flex align-items-center bg-white"> <div class="card-header d-inline-flex align-items-center bg-white">
<img src="{{$item->profile->avatarUrl()}}" width="32px" height="32px" style="border-radius: 32px;"> <img src="{{$item->profile->avatarUrl()}}" width="32px" height="32px" style="border-radius: 32px;">
<a class="username font-weight-bold pl-2 text-dark" href="{{$item->profile->url()}}"> <a class="username font-weight-bold pl-2 text-dark" href="{{$item->profile->url()}}">

View file

@ -1,4 +1,4 @@
<div class="card"> <div class="card card-md-rounded-0">
<div class="card-header font-weight-bold">New Post</div> <div class="card-header font-weight-bold">New Post</div>
<div class="card-body" id="statusForm"> <div class="card-body" id="statusForm">
@if (session('error')) @if (session('error'))

View file

@ -6,8 +6,8 @@
@section('content') @section('content')
<div class="container"> <div class="container p-0">
<div class="col-12 col-md-8 offset-md-2 pt-4"> <div class="col-md-10 col-lg-8 mx-auto pt-4 px-0">
@if ($errors->any()) @if ($errors->any())
<div class="alert alert-danger"> <div class="alert alert-danger">
<ul> <ul>
@ -27,7 +27,7 @@
@endforeach @endforeach
@if($timeline->count() == 0) @if($timeline->count() == 0)
<div class="card"> <div class="card card-md-rounded-0">
<div class="card-body py-5"> <div class="card-body py-5">
<div class="d-flex justify-content-center align-items-center"> <div class="d-flex justify-content-center align-items-center">
<p class="lead font-weight-bold mb-0">{{ __('timeline.emptyPersonalTimeline') }}</p> <p class="lead font-weight-bold mb-0">{{ __('timeline.emptyPersonalTimeline') }}</p>
@ -37,11 +37,11 @@
@endif @endif
</div> </div>
<div class="page-load-status"> <div class="page-load-status" style="display: none;">
<div class="infinite-scroll-request"> <div class="infinite-scroll-request" style="display: none;">
<div class="d-none fixed-top loading-page"></div> <div class="fixed-top loading-page"></div>
</div> </div>
<div class="infinite-scroll-last"> <div class="infinite-scroll-last" style="display: none;">
<h3>No more content</h3> <h3>No more content</h3>
<p class="text-muted"> <p class="text-muted">
Maybe you could try Maybe you could try
@ -49,7 +49,7 @@
more people you can follow. more people you can follow.
</p> </p>
</div> </div>
<div class="infinite-scroll-error"> <div class="infinite-scroll-error" style="display: none;">
<h3>Whoops, an error</h3> <h3>Whoops, an error</h3>
<p class="text-muted"> <p class="text-muted">
Try reloading the page Try reloading the page

View file

@ -6,8 +6,8 @@
@section('content') @section('content')
<div class="container"> <div class="container px-0">
<div class="col-12 col-md-8 offset-md-2 pt-4"> <div class="col-md-10 col-lg-8 mx-auto pt-4 px-0">
@if ($errors->any()) @if ($errors->any())
<div class="alert alert-danger"> <div class="alert alert-danger">
<ul> <ul>
@ -28,11 +28,11 @@
@endforeach @endforeach
</div> </div>
<div class="page-load-status"> <div class="page-load-status" style="display: none;">
<div class="infinite-scroll-request"> <div class="infinite-scroll-request" style="display: none;">
<div class="d-none fixed-top loading-page"></div> <div class="fixed-top loading-page"></div>
</div> </div>
<div class="infinite-scroll-last"> <div class="infinite-scroll-last" style="display: none;">
<h3>No more content</h3> <h3>No more content</h3>
<p class="text-muted"> <p class="text-muted">
Maybe you could try Maybe you could try
@ -40,7 +40,7 @@
more people you can follow. more people you can follow.
</p> </p>
</div> </div>
<div class="infinite-scroll-error"> <div class="infinite-scroll-error" style="display: none;">
<h3>Whoops, an error</h3> <h3>Whoops, an error</h3>
<p class="text-muted"> <p class="text-muted">
Try reloading the page Try reloading the page