Skip to content

Commit e3020ce

Browse files
committed
Move the overflow:hidden on standard-list into a child so the results don’t get trimmed
1 parent 85509c5 commit e3020ce

File tree

10 files changed

+39
-30
lines changed

10 files changed

+39
-30
lines changed

assets/sass/form/_fieldset.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,13 @@ fieldset, .fieldset {
8686
// In the related sidebar, subpixel rounding issues in browsers result in
8787
// 1px of white (from the bkgd) showing up to the right of the table at
8888
// some browser widths. So this makes the table a smidge bigger so the
89-
// bckground of the table header is always full bleed.
90-
overflow: hidden;
91-
.table {
92-
width: calc(100% + 1px);
93-
max-width: none;
89+
// background of the table header is always full bleed.
90+
.listing-wrapper {
91+
overflow: hidden;
92+
.table {
93+
width: calc(100% + 1px);
94+
max-width: none;
95+
}
9496
}
9597

9698
}

dist/index.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 📝 Bukwild 💾 9.11.17 👍 */
1+
/*! 📝 Bukwild 💾 10.10.17 👍 */
22
@import url(//fonts.googleapis.com/css?family=Cabin:400,700|Roboto+Slab:100,300,400);@charset "UTF-8";
33
/**
44
* Bootstrap variables
@@ -7451,8 +7451,7 @@ fieldset, .fieldset {
74517451
fieldset .legend > .pull-right, .fieldset .legend > .pull-right {
74527452
margin-right: -3px; } }
74537453
fieldset.standard-list, .fieldset.standard-list {
7454-
padding: 0;
7455-
overflow: hidden; }
7454+
padding: 0; }
74567455
fieldset.standard-list .legend, .fieldset.standard-list .legend {
74577456
margin: 0; }
74587457
fieldset.standard-list .listing, .fieldset.standard-list .listing {
@@ -7467,9 +7466,11 @@ fieldset, .fieldset {
74677466
fieldset.standard-list .legend > a:hover, fieldset.standard-list .legend > a:focus, .fieldset.standard-list .legend > a:hover, .fieldset.standard-list .legend > a:focus {
74687467
color: #d08a46;
74697468
border-bottom-color: #d08a46; }
7470-
fieldset.standard-list .table, .fieldset.standard-list .table {
7471-
width: calc(100% + 1px);
7472-
max-width: none; }
7469+
fieldset.standard-list .listing-wrapper, .fieldset.standard-list .listing-wrapper {
7470+
overflow: hidden; }
7471+
fieldset.standard-list .listing-wrapper .table, .fieldset.standard-list .listing-wrapper .table {
7472+
width: calc(100% + 1px);
7473+
max-width: none; }
74737474
fieldset.disabled, .fieldset.disabled {
74747475
opacity: .7; }
74757476
fieldset.disabled .legend, .fieldset.disabled .legend {

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 📝 Bukwild 💾 9.11.17 👍 */
1+
/*! 📝 Bukwild 💾 10.10.17 👍 */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();

dist/index.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/public/assets/decoy/index.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 📝 Bukwild 💾 9.11.17 👍 */
1+
/*! 📝 Bukwild 💾 10.10.17 👍 */
22
@import url(//fonts.googleapis.com/css?family=Cabin:400,700|Roboto+Slab:100,300,400);@charset "UTF-8";
33
/**
44
* Bootstrap variables
@@ -7451,8 +7451,7 @@ fieldset, .fieldset {
74517451
fieldset .legend > .pull-right, .fieldset .legend > .pull-right {
74527452
margin-right: -3px; } }
74537453
fieldset.standard-list, .fieldset.standard-list {
7454-
padding: 0;
7455-
overflow: hidden; }
7454+
padding: 0; }
74567455
fieldset.standard-list .legend, .fieldset.standard-list .legend {
74577456
margin: 0; }
74587457
fieldset.standard-list .listing, .fieldset.standard-list .listing {
@@ -7467,9 +7466,11 @@ fieldset, .fieldset {
74677466
fieldset.standard-list .legend > a:hover, fieldset.standard-list .legend > a:focus, .fieldset.standard-list .legend > a:hover, .fieldset.standard-list .legend > a:focus {
74687467
color: #d08a46;
74697468
border-bottom-color: #d08a46; }
7470-
fieldset.standard-list .table, .fieldset.standard-list .table {
7471-
width: calc(100% + 1px);
7472-
max-width: none; }
7469+
fieldset.standard-list .listing-wrapper, .fieldset.standard-list .listing-wrapper {
7470+
overflow: hidden; }
7471+
fieldset.standard-list .listing-wrapper .table, .fieldset.standard-list .listing-wrapper .table {
7472+
width: calc(100% + 1px);
7473+
max-width: none; }
74737474
fieldset.disabled, .fieldset.disabled {
74747475
opacity: .7; }
74757476
fieldset.disabled .legend, .fieldset.disabled .legend {

example/public/assets/decoy/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! 📝 Bukwild 💾 9.11.17 👍 */
1+
/*! 📝 Bukwild 💾 10.10.17 👍 */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory();

example/public/assets/decoy/index.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/public/assets/decoy/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

views/shared/list/_standard.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@
88

99
<?php
1010
// Create the page title for the sidebar layout
11-
if ($layout == 'sidebar') echo View::make('decoy::shared.list._sidebar_header', $__data)->render();
11+
if ($layout == 'sidebar') {
12+
echo View::make('decoy::shared.list._sidebar_header', $__data)->render();
1213

1314
// Create the page title for a full page layout
14-
else if ($layout == 'full') echo View::make('decoy::shared.list._full_header', $__data)->render();
15+
} else if ($layout == 'full') {
16+
echo View::make('decoy::shared.list._full_header', $__data)->render();
17+
}
1518

16-
// Render the full table. This could be broken up into smaller chunks but leaving
17-
// it as is until the need arises
18-
echo View::make('decoy::shared.list._table', $__data)->render();
19+
// Render the full table. This could be broken up into smaller chunks but
20+
// leaving it as is until the need arises
21+
echo '<div class="listing-wrapper">'
22+
.View::make('decoy::shared.list._table', $__data)->render()
23+
.'</div>';
1924

2025
// Add sidebar pagination
2126
if (!empty($layout) && $layout != 'full' && $count > count($listing)): ?>

0 commit comments

Comments
 (0)