瀏覽代碼

Merge pull request #173 from hellcp/patch-9

Add breakpoined border to status view
daniel 7 年之前
父節點
當前提交
91d01a2634
共有 2 個文件被更改,包括 8 次插入2 次删除
  1. 7 1
      resources/assets/sass/custom.scss
  2. 1 1
      resources/views/status/show.blade.php

+ 7 - 1
resources/assets/sass/custom.scss

@@ -163,6 +163,12 @@ body, button, input, textarea {
     background-position: 50%;
 }
 
+@media (max-width: map-get($grid-breakpoints, "md")) {
+ .border-md-left-0 {
+  border-left:0!important
+ }
+}
+
 .fas, .far {
   font-size: 25px !important;
 }
@@ -177,4 +183,4 @@ body, button, input, textarea {
 }
 
 .fas.fa-heart {
-}
+}

+ 1 - 1
resources/views/status/show.blade.php

@@ -8,7 +8,7 @@
       <div class="col-12 col-md-8 status-photo px-0">
         <img src="{{$status->mediaUrl()}}" width="100%">
       </div>
-      <div class="col-12 col-md-4 px-0 d-flex flex-column">
+      <div class="col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0">
         <div class="d-flex align-items-center justify-content-between card-header">
           <div class="d-flex align-items-center status-username">
             <div class="status-avatar mr-2">