From 838919eb428ba2f439f4d7b80b543fc2cd2d652b Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Fri, 21 Apr 2023 17:43:41 +0530 Subject: [PATCH] fix: update deprecated deep selector syntax (#20807) `>>>` to `:deep` --- frappe/public/js/print_format_builder/Preview.vue | 2 +- frappe/public/js/print_format_builder/PrintFormatControls.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/print_format_builder/Preview.vue b/frappe/public/js/print_format_builder/Preview.vue index 1603711846..377ec92b6d 100644 --- a/frappe/public/js/print_format_builder/Preview.vue +++ b/frappe/public/js/print_format_builder/Preview.vue @@ -130,7 +130,7 @@ onMounted(() => { margin-top: auto; margin-bottom: 1.2rem; } -.preview-control >>> .form-control { +.preview-control :deep(.form-control) { background: var(--control-bg-on-gray); } diff --git a/frappe/public/js/print_format_builder/PrintFormatControls.vue b/frappe/public/js/print_format_builder/PrintFormatControls.vue index 7d38148d5e..eac5fbe9f6 100644 --- a/frappe/public/js/print_format_builder/PrintFormatControls.vue +++ b/frappe/public/js/print_format_builder/PrintFormatControls.vue @@ -332,7 +332,7 @@ watch(print_format, () => (store.dirty.value = true), { deep: true }); margin-bottom: 0; } -.control-font >>> .frappe-control[data-fieldname="font"] label { +.control-font :deep(.frappe-control[data-fieldname="font"] label) { display: none; }