mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-15 02:43:19 +00:00
fix(web) structured props to display right (#13128)
This commit is contained in:
parent
2f07dc3fcd
commit
ae95a5c408
@ -44,6 +44,9 @@ const MarkdownViewContainer = styled.div<{ scrollableY: boolean }>`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const CompactEditor = styled(Editor)<{ limit: number | null; customStyle?: React.CSSProperties }>`
|
const CompactEditor = styled(Editor)<{ limit: number | null; customStyle?: React.CSSProperties }>`
|
||||||
|
.remirror-theme {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
.remirror-editor.ProseMirror {
|
.remirror-editor.ProseMirror {
|
||||||
${({ limit }) => limit && `max-height: ${limit * LINE_HEIGHT}em;`}
|
${({ limit }) => limit && `max-height: ${limit * LINE_HEIGHT}em;`}
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
@ -20,10 +20,12 @@ const ValuesContainerFlex = styled.div<{ renderType: TabRenderType }>`
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: flex-start; /* Ensure items are aligned at the start */
|
align-items: flex-start; /* Ensure items are aligned at the start */
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
width: 100%;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const ValueContainer = styled.div`
|
const ValueContainer = styled.div`
|
||||||
flex: 0 1 auto;
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default function ValuesColumn({ propertyRow, filterText, hydratedEntityMap, renderType }: Props) {
|
export default function ValuesColumn({ propertyRow, filterText, hydratedEntityMap, renderType }: Props) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user