Skip to content

Commit

Permalink
feat: restore original style for organisation page for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Dec 17, 2024
1 parent 4db37bc commit 47e1782
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/organisation/DocumentList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { getSortDirection, getSortValue, sortDocuments, sortOptions } from "../../utils";
import DocumentListItem from "./DocumentListItem.vue";
const headerClassNames = "hidden border-y border-solid border-gray-300 p-2.5 font-bold sm:block";
const headerClassNames = "hidden border-0 border-y border-solid border-gray-300 p-2.5 font-bold sm:block";
const props = defineProps({
documents: { type: Object, default: () => {} },
sortvariable: { type: String, default: "" },
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisation/DocumentListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<template>
<div
class="flex flex-col gap-0 border-t border-solid border-gray-300 odd:bg-white even:bg-slate-100 sm:grid sm:grid-cols-5 sm:border-0"
class="flex flex-col gap-0 border border-b-0 border-solid border-gray-300 odd:bg-white even:bg-slate-100 sm:grid sm:grid-cols-5 sm:border-0"
:class="{
'hover:bg-gray-200': !hasProperLink(props.document),
'cursor-pointer': !hasProperLink(props.document),
Expand Down
4 changes: 3 additions & 1 deletion src/pages/OrganisationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@
</span>
<span v-if="!reportsLoading">
|
<button @click="downloadCSV()">Download Validation Report CSV</button>
<button class="bg-transparent border-none underline p-0 m-0" @click="downloadCSV()">
Download Validation Report CSV
</button>
</span>
</div>
<div v-if="documents && documents.length" class="flex flex-col sm:mt-0 sm:flex-row">
Expand Down

0 comments on commit 47e1782

Please sign in to comment.