Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/implement-documentation-grid-preview-block #195

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/build/block.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '96715c96c0ac27309700');
1 change: 1 addition & 0 deletions assets/build/block.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/frontend.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => '9452b96fb7f339eb0d86');
<?php return array('dependencies' => array(), 'version' => 'fcded455a859b2ac56a7');
62 changes: 62 additions & 0 deletions assets/build/frontend.css
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,63 @@ body.single.single-docs .content-area {
.wedocs-shortcode-wrap ul.wedocs-docs-list.col-3 > li:nth-child(3n + 3) {
margin-right: 0;
}
.wedocs-shortcode-wrap .pagination {
display: flex;
justify-content: center;
}
.wedocs-shortcode-wrap .pagination ul {
padding: 0;
margin-left: 0;
margin-top: 20px;
border-radius: 8px;
display: inline-flex;
list-style-type: none;
border: 1px solid #cbd5e1;
}
.wedocs-shortcode-wrap .pagination ul li {
border-right: 1px solid #cbd5e1;
}
.wedocs-shortcode-wrap .pagination ul li a,
.wedocs-shortcode-wrap .pagination ul li span {
height: 100%;
display: block;
font-size: 16px;
font-weight: 600;
padding: 5px 10px;
text-align: center;
text-decoration: none;
}
.wedocs-shortcode-wrap .pagination ul li a.prev,
.wedocs-shortcode-wrap .pagination ul li span.prev,
.wedocs-shortcode-wrap .pagination ul li a.next,
.wedocs-shortcode-wrap .pagination ul li span.next {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
}
.wedocs-shortcode-wrap .pagination ul li a.prev span,
.wedocs-shortcode-wrap .pagination ul li span.prev span,
.wedocs-shortcode-wrap .pagination ul li a.next span,
.wedocs-shortcode-wrap .pagination ul li span.next span {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
}
.wedocs-shortcode-wrap .pagination ul li.disabled span {
opacity: 0.3;
height: 100%;
display: flex;
padding-top: 0;
align-items: center;
}
.wedocs-shortcode-wrap .pagination ul li.disabled span svg {
pointer-events: none;
}
.wedocs-shortcode-wrap .pagination ul li:last-child {
border-right: 0;
}
.wedocs-shortcode-wrap.pro ul.wedocs-search-input {
background: #3B82F6;
}
Expand Down Expand Up @@ -1216,4 +1273,9 @@ footer.entry-footer.wedocs-entry-footer.on .help-content .help-button #wedocs-st
margin: 0;
}
}
@media screen and (min-width: 540px) {
.wedocs-shortcode-wrap .pagination ul li {
min-width: 40px;
}
}

2 changes: 1 addition & 1 deletion assets/build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '019b62242c90b1fbaead');
<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '2757585b37366ca65dea');
Loading