Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
feat: add background to focused block & differentiate image tool caption
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskipper committed Feb 27, 2022
1 parent bd6f504 commit a5d2b1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions admin/src/components/Wysiwyg/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ const Wrapper = styled(Box)`
cursor: default;
}
}
.cdx-input.image-tool__caption {
font-size: .9rem;
color: #444;
line-height: 1.5;
}
.ce-block--focused {
background-image: linear-gradient(17deg,rgba(207,214,229,.1) 63.45%,rgba(207,214,229,.27) 98%,rgba(207,214,229,.27));
}
`;

export default Wrapper;

0 comments on commit a5d2b1b

Please sign in to comment.