Skip to content

Commit

Permalink
fix border styles
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Apr 22, 2024
1 parent 1a668fa commit 8b67136
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button, Card, Title } from '@newfold/ui-component-library';
const ProductsPages = () => {
return (
<Card
className="hover:nfd-bg-[#FEFCEA] wppbh-app-products"
className="wppbh-app-products nfd-border-0 md:nfd-border-r nfd-shadow-none hover:nfd-bg-[#FEFCEA]"
style={ {
borderRadius: 0,
} }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button, Card, Title } from '@newfold/ui-component-library';
const BlogPosts = () => {
return (
<Card
className="hover:nfd-bg-[#F9F5FE] wppbh-app-blog-posts"
className="wppbh-app-blog-posts nfd-border-0 nfd-border-b nfd-shadow-none hover:nfd-bg-[#F9F5FE]"
style={ {
borderRadius: 0,
} }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button, Card, Title } from '@newfold/ui-component-library';
const BookingAndAppointments = () => {
return (
<Card
className="hover:nfd-bg-[#F2F9FE] wppbh-app-bookings"
className="wppbh-app-bookings nfd-border-0 nfd-border-t md:nfd-border-t-0 nfd-shadow-none hover:nfd-bg-[#F2F9FE]"
style={ {
borderRadius: 0,
} }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ import AppStore from '../../data/store';

const PagesAndPosts = () => {
const { store } = useContext( AppStore );

return (
<Page
title="Pages & Posts"
className={ 'wppbh-app-pagesAndPosts-page' }
>
<Container>
<Container className="nfd-overflow-hidden">
<Container.Header
title={ __( 'Pages & Posts', 'wp-plugin-bluehost' ) }
description={
Expand All @@ -23,7 +24,7 @@ const PagesAndPosts = () => {
variant="warning"
className="nfd-text-sm nfd-bg-transparent nfd-p-0 "
>
<span className="nfd-text-red-700">
<span className="nfd-font-semibold nfd-text-red-700">
{ __(
'Your site is not live.',
'wp-plugin-bluehost'
Expand Down Expand Up @@ -73,13 +74,13 @@ const PagesAndPosts = () => {
<div className="nfd-grid md:nfd-grid-cols-2 nfd-gap-0 sm:nfd-grid-cols-1">
<SitePages />
<BlogPosts />
{ window.NewfoldRuntime.isWoocommerceActive && (
<ProductsPages />
) }
{ window.NewfoldRuntime.isYithBookingActive &&
window.NewfoldRuntime.isWoocommerceActive && (
<BookingAndAppointments />
) }
{ window.NewfoldRuntime.isWoocommerceActive && (
<ProductsPages />
) }
</div>
</Container>
</Page>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button, Card, Title } from '@newfold/ui-component-library';
const SitePages = () => {
return (
<Card
className="hover:nfd-bg-[#F2FDFA] wppbh-app-site-page"
className="wppbh-app-site-page nfd-border-0 nfd-border-r-0 md:nfd-border-r nfd-border-b nfd-shadow-none hover:nfd-bg-[#F2FDFA]"
style={ {
borderRadius: 0,
} }
Expand Down

0 comments on commit 8b67136

Please sign in to comment.