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

Commit a5d2b1b

Browse files
committed
feat: add background to focused block & differentiate image tool caption
1 parent bd6f504 commit a5d2b1b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

admin/src/components/Wysiwyg/wrapper.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ const Wrapper = styled(Box)`
6868
cursor: default;
6969
}
7070
}
71+
.cdx-input.image-tool__caption {
72+
font-size: .9rem;
73+
color: #444;
74+
line-height: 1.5;
75+
}
76+
.ce-block--focused {
77+
background-image: linear-gradient(17deg,rgba(207,214,229,.1) 63.45%,rgba(207,214,229,.27) 98%,rgba(207,214,229,.27));
78+
}
7179
`;
7280

7381
export default Wrapper;

0 commit comments

Comments
 (0)