Fix old todo, also remove !important from CSS
This commit is contained in:
parent
eae01e1d86
commit
2626c928b1
|
|
@ -483,8 +483,8 @@ const isHidden = computed(() =>
|
||||||
// we need the root content block id, not the generated content block if inside a content list block
|
// we need the root content block id, not the generated content block if inside a content list block
|
||||||
const root = computed(() => (props.contentBlock.root ? props.contentBlock.root : props.contentBlock.id));
|
const root = computed(() => (props.contentBlock.root ? props.contentBlock.root : props.contentBlock.id));
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
|
||||||
/* todo: re-add `scoped` after switch to vite or this bug is fixed: https://github.com/vuejs/vue-loader/issues/1915 */
|
<style scoped lang="scss">
|
||||||
@import 'styles/helpers';
|
@import 'styles/helpers';
|
||||||
|
|
||||||
.content-block {
|
.content-block {
|
||||||
|
|
@ -558,14 +558,13 @@ const root = computed(() => (props.contentBlock.root ? props.contentBlock.root :
|
||||||
&--instrument {
|
&--instrument {
|
||||||
@include content-box-base;
|
@include content-box-base;
|
||||||
|
|
||||||
.bookmark-actions {
|
:deep(.bookmark-actions) {
|
||||||
//60px from bookmak actions - 15px from padding of Instrument Widget;
|
// default is -150px from bookmak actions - 15px from padding of Instrument Widget;
|
||||||
padding-right: 45px !important;
|
right: -165px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: re-add :deep() once we re-add scoped
|
:deep(p) {
|
||||||
p {
|
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
||||||
|
|
@ -574,8 +573,7 @@ const root = computed(() => (props.contentBlock.root ? props.contentBlock.root :
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: re-add :deep() once we re-add scoped
|
:deep(.text-block) {
|
||||||
.text-block {
|
|
||||||
ul {
|
ul {
|
||||||
@include list-parent;
|
@include list-parent;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue