Skip to content

Commit

Permalink
update AuthorEditor style
Browse files Browse the repository at this point in the history
  • Loading branch information
george-misan committed Aug 24, 2023
1 parent 00b3b18 commit 52baf86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { InnerBlocks } from "@wordpress/block-editor"
import { BlockEditProps, Template } from "@wordpress/blocks"
import React from "react"
import { useTranslation } from "react-i18next"

import BlockWrapper from "../BlockWrapper"

Expand Down Expand Up @@ -34,7 +33,7 @@ const AUTHOR_BLOCK_TEMPLATE: Template[] = [
{
content: "Insert author's bio text...",
placeholder: "Insert author's bio text...",
align: "center",
align: "left",
},
],
],
Expand All @@ -46,7 +45,6 @@ const AUTHOR_BLOCK_TEMPLATE: Template[] = [
const AuthorEditor: React.FC<React.PropsWithChildren<BlockEditProps<Record<string, never>>>> = ({
clientId,
}) => {
const { t } = useTranslation()
return (
<BlockWrapper id={clientId}>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ const Wrapper = styled.div`
margin-left: 0;
}
div .css-159pl2 :first-of-type {
max-width: 250px !important;
div.course-material-block > div > div:nth-child(2) {
margin-bottom: 1.4rem !important;
}
div .css-159pl2 :last-of-type {
margin-bottom: 1.4rem !important;
div.course-material-block > div > div > div > div:nth-child(1) {
max-width: 250px !important;
}
p {
margin: 0;
font-size: 18px;
font-size: 17px;
font-weight: 400;
color: ${baseTheme.colors.gray[600]};
}
Expand Down

0 comments on commit 52baf86

Please sign in to comment.