Browse Source

Fix #67.

pull/75/head
Ned Zimmerman 7 years ago
parent
commit
92a0cce08e
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 29
      assets/styles/layouts/_page-catalog.scss
  2. 2
      dist/mix-manifest.json
  3. 2
      dist/styles/aldine.css
  4. 4
      page-catalog.php

29
assets/styles/layouts/_page-catalog.scss

@ -190,7 +190,7 @@ fieldset {
} }
} }
@media #{$breakpoint-tablet-and-up} { @media #{$breakpoint-medium} {
.filter-sort { .filter-sort {
width: calc(100% - 1rem); width: calc(100% - 1rem);
height: 7rem; height: 7rem;
@ -249,27 +249,18 @@ fieldset {
@media #{$breakpoint-large} { @media #{$breakpoint-large} {
.catalog #content { .catalog #content {
width: 100%; width: calc(100% - 1rem);
max-width: rem(1440); margin-left: auto;
background: transparent; margin-right: auto;
}
.catalog .book {
max-width: calc(100% / 3 - 1rem);
}
}
@media #{$breakpoint-extra-large} {
.catalog #content {
width: 100%;
max-width: rem(1650); max-width: rem(1650);
background: transparent;
} }
.filter-sort { .filter-sort {
width: calc(25% - 1rem); width: calc(25% - 2rem);
height: auto; height: auto;
float: left; float: left;
margin-left: 0; margin: 2rem 1rem 1rem;
} }
fieldset { fieldset {
@ -294,6 +285,12 @@ fieldset {
margin-left: 0; margin-left: 0;
} }
.catalog .book {
height: 16.25rem;
max-width: calc(100% / 3 - 1rem);
margin: 0 1rem 1rem 0;
}
.catalog-navigation { .catalog-navigation {
width: 75%; width: 75%;
float: right; float: right;

2
dist/mix-manifest.json vendored

@ -1,6 +1,6 @@
{ {
"/scripts/aldine.js": "/scripts/aldine.js?id=1f58027f7de9942caf57", "/scripts/aldine.js": "/scripts/aldine.js?id=1f58027f7de9942caf57",
"/styles/aldine.css": "/styles/aldine.css?id=23585277fc9935ca45bb", "/styles/aldine.css": "/styles/aldine.css?id=f0727f4a9964728b106e",
"/styles/editor.css": "/styles/editor.css?id=d96762ab5918cde0c2e1", "/styles/editor.css": "/styles/editor.css?id=d96762ab5918cde0c2e1",
"/scripts/customizer.js": "/scripts/customizer.js?id=1b0d3cfc1d85f460af53", "/scripts/customizer.js": "/scripts/customizer.js?id=1b0d3cfc1d85f460af53",
"/scripts/catalog-admin.js": "/scripts/catalog-admin.js?id=d25f1240496bd3607338" "/scripts/catalog-admin.js": "/scripts/catalog-admin.js?id=d25f1240496bd3607338"

2
dist/styles/aldine.css vendored

File diff suppressed because one or more lines are too long

4
page-catalog.php

@ -26,9 +26,9 @@ $available_licenses = get_available_licenses( $catalog_data );
$subjects = ( defined( 'PB_PLUGIN_VERSION' ) ) ? \Pressbooks\Metadata\get_thema_subjects() : []; $subjects = ( defined( 'PB_PLUGIN_VERSION' ) ) ? \Pressbooks\Metadata\get_thema_subjects() : [];
$available_subjects = get_available_subjects( $catalog_data ); $available_subjects = get_available_subjects( $catalog_data );
if ( ! empty( $catalog_data['books'] ) ) : ?> if ( ! empty( $catalog_data['books'] ) ) :
get_header(); ?> get_header(); ?>
<div id="primary" class="content-area"> <div id="primary" class="content-area">
<main id="main" class="site-main"> <main id="main" class="site-main">

Loading…
Cancel
Save