Skip to content

Commit e230412

Browse files
pkp/pkp-lib#10850 Fix error when using @apply direction to remaining components
1 parent 295b0a4 commit e230412

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/components/DateRange/DateRange.vue

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@blur="closeOnBlur"
1010
>
1111
<div
12-
class="flex h-8 w-8 items-center justify-center border-e border-e-light border-opacity-40 text-primary"
12+
class="border-e-light border-opacity-40 text-primary flex h-8 w-8 items-center justify-center border-e"
1313
>
1414
<Icon icon="Calendar" class="h-5 w-5" :inline="true" />
1515
</div>
@@ -65,7 +65,7 @@
6565
</label>
6666
</fieldset>
6767
<PkpButton @click="applyCustomRange">{{ applyLabel }}</PkpButton>
68-
<div v-if="errorMessage" class="pt-2 text-base-normal">
68+
<div v-if="errorMessage" class="text-base-normal pt-2">
6969
<Icon icon="Error" class="me-1 h-5 w-5" :inline="true" />
7070
<span class="align-middle" v-html="errorMessage" />
7171
</div>
@@ -421,6 +421,7 @@ export default {
421421

422422
<style lang="less">
423423
@import '../../styles/_import';
424+
@reference '../../../tailwind.config.css';
424425
425426
.pkpDateRange {
426427
position: relative;

src/pages/dashboard/DashboardPage.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
2-
<div class="min-h-screentext-base-normal me-3 ms-5 text-base-normal">
2+
<div class="min-h-screentext-base-normal text-base-normal ms-5 me-3">
33
<div class="">
44
<span>
5-
<h1 class="flex-inline items-center gap-4 py-6 text-5xl-bold">
5+
<h1 class="flex-inline text-5xl-bold items-center gap-4 py-6">
66
{{
77
`${store.currentView.name} (${store.submissionsPagination.itemCount})`
88
}}
@@ -115,6 +115,8 @@ const store = useDashboardPageStore(props);
115115
</script>
116116

117117
<style>
118+
@reference '../../../tailwind.config.css';
119+
118120
.pkp_page_dashboard {
119121
@apply min-w-max;
120122
}

0 commit comments

Comments
 (0)