Skip to content

Commit

Permalink
pkp/pkp-lib#10850 Fix error when using @apply direction to remaining …
Browse files Browse the repository at this point in the history
…components
  • Loading branch information
blesildaramirez committed Feb 12, 2025
1 parent 295b0a4 commit e230412
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/components/DateRange/DateRange.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@blur="closeOnBlur"
>
<div
class="flex h-8 w-8 items-center justify-center border-e border-e-light border-opacity-40 text-primary"
class="border-e-light border-opacity-40 text-primary flex h-8 w-8 items-center justify-center border-e"
>
<Icon icon="Calendar" class="h-5 w-5" :inline="true" />
</div>
Expand Down Expand Up @@ -65,7 +65,7 @@
</label>
</fieldset>
<PkpButton @click="applyCustomRange">{{ applyLabel }}</PkpButton>
<div v-if="errorMessage" class="pt-2 text-base-normal">
<div v-if="errorMessage" class="text-base-normal pt-2">
<Icon icon="Error" class="me-1 h-5 w-5" :inline="true" />
<span class="align-middle" v-html="errorMessage" />
</div>
Expand Down Expand Up @@ -421,6 +421,7 @@ export default {

<style lang="less">
@import '../../styles/_import';
@reference '../../../tailwind.config.css';
.pkpDateRange {
position: relative;
Expand Down
6 changes: 4 additions & 2 deletions src/pages/dashboard/DashboardPage.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div class="min-h-screentext-base-normal me-3 ms-5 text-base-normal">
<div class="min-h-screentext-base-normal text-base-normal ms-5 me-3">
<div class="">
<span>
<h1 class="flex-inline items-center gap-4 py-6 text-5xl-bold">
<h1 class="flex-inline text-5xl-bold items-center gap-4 py-6">
{{
`${store.currentView.name} (${store.submissionsPagination.itemCount})`
}}
Expand Down Expand Up @@ -115,6 +115,8 @@ const store = useDashboardPageStore(props);
</script>

<style>
@reference '../../../tailwind.config.css';
.pkp_page_dashboard {
@apply min-w-max;
}
Expand Down

0 comments on commit e230412

Please sign in to comment.