Adds more style dependencies to dynamic items block to support tainacan view modes. #872.
This commit is contained in:
parent
11f66edc10
commit
cd00a62ffa
|
@ -1,4 +1,3 @@
|
|||
@import url(../../../../../node_modules/another-vue3-blurhash/dist/style.css);
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,5 @@
|
|||
@import '../../scss/gutenberg-blocks-variables.scss';
|
||||
|
||||
// Vue Blurhash transtition effect
|
||||
@import '../../../../../node_modules/another-vue3-blurhash/dist/style.css';
|
||||
|
||||
.wp-block-tainacan-dynamic-items-list {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
|
|
|
@ -555,6 +555,14 @@ export default {
|
|||
this.tainacanAxios.get(metadataEndpoint)
|
||||
.then(response => {
|
||||
this.displayedMetadataObjects = response.data;
|
||||
this.displayedMetadataObjects.unshift({
|
||||
name: this.wpI18n('Thumbnail', 'tainacan'),
|
||||
metadatum: 'row_thumbnail',
|
||||
metadata_type: undefined,
|
||||
slug: 'thumbnail',
|
||||
id: undefined,
|
||||
display: true
|
||||
});
|
||||
this.fetchItems();
|
||||
this.isLoadingMetadata = false;
|
||||
});
|
||||
|
@ -575,5 +583,12 @@ export default {
|
|||
<style lang="scss">
|
||||
|
||||
@import './style.scss';
|
||||
|
||||
// Tooltips
|
||||
@import url('floating-vue/dist/style.css');
|
||||
@import '../../../admin/scss/_tooltips.scss';
|
||||
|
||||
// Vue Blurhash transtition effect
|
||||
@import '../../../../../node_modules/another-vue3-blurhash/dist/style.css';
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue