simplify css for table infobox

pull/27/head
Ondřej Hruška 6 years ago
parent d870da7e05
commit 8cbfa93adf
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 12
      resources/assets/sass/_infobox.scss
  2. 2
      resources/assets/sass/app.scss
  3. 2
      resources/views/table/view.blade.php

@ -0,0 +1,12 @@
// box e.g. above a table in the table view
.infobox {
margin-left: auto;
margin-right: auto;
@include mb(3);
@include px(0);
@include py(2);
justify-content: center;
@extend .border;
@extend .rounded;
@extend .box-shadow;
}

@ -21,6 +21,8 @@ html {
@import "bootstrap-customizations/responsive"; @import "bootstrap-customizations/responsive";
@import "bootstrap-customizations/typography"; @import "bootstrap-customizations/typography";
@import "infobox";
.bio-table { .bio-table {
td { td {
padding-top: dist(2); padding-top: dist(2);

@ -21,7 +21,7 @@
</div> </div>
</div> </div>
<div class="row mx-auto col-md-12 justify-content-center mb-1 border rounded px-0 py-2 box-shadow mb-3"> <div class="row col-md-12 infobox">
{{-- Tab panels wrapper --}} {{-- Tab panels wrapper --}}
<div class="col-md-10 tab-content order-1" id="infobox-tabContent"> <div class="col-md-10 tab-content order-1" id="infobox-tabContent">

Loading…
Cancel
Save