diff --git a/src/beta/components/log/LogDetails/LogDetails.js b/src/beta/components/log/LogDetails/LogDetails.js index a3dfaac..ed4c0ec 100644 --- a/src/beta/components/log/LogDetails/LogDetails.js +++ b/src/beta/components/log/LogDetails/LogDetails.js @@ -12,32 +12,24 @@ const LogDetails = ({ log, className }) => { - {log.title} + {log.title} {log.source && ( - <> - - - + )} {log?.properties && filteredProperties.length > 0 && ( - div:last-child, & > div.Mui-expanded:last-child": { - marginBottom: "20px" - }, - }}> + {filteredProperties.map((it, i) => )} )} - + ); diff --git a/src/beta/components/log/LogDetails/LogDetailsWithReplies.js b/src/beta/components/log/LogDetails/LogDetailsWithReplies.js index 9de99b2..3848973 100644 --- a/src/beta/components/log/LogDetails/LogDetailsWithReplies.js +++ b/src/beta/components/log/LogDetails/LogDetailsWithReplies.js @@ -104,8 +104,8 @@ const LogDetailsWithReplies = ({ log }) => { } return ( - - + + diff --git a/src/beta/components/search/SearchResults.js b/src/beta/components/search/SearchResults.js index d93d0d3..7003dcc 100644 --- a/src/beta/components/search/SearchResults.js +++ b/src/beta/components/search/SearchResults.js @@ -74,7 +74,7 @@ export const SearchResults = styled(({ className }) => { hitCount: 0 }, error, - isFetching: loading + isLoading: loading } = ologApi.endpoints.searchLogs.useQuery( searchLogsQuery, { @@ -144,7 +144,7 @@ export const SearchResults = styled(({ className }) => { - {loading ? : null} + {loading && } {error ? diff --git a/src/components/shared/CommonmarkPreview/CommonmarkPreview.js b/src/components/shared/CommonmarkPreview/CommonmarkPreview.js index e61e0e8..6bbd8de 100644 --- a/src/components/shared/CommonmarkPreview/CommonmarkPreview.js +++ b/src/components/shared/CommonmarkPreview/CommonmarkPreview.js @@ -26,6 +26,7 @@ const StyledHtmlContent = styled(HtmlContent)` padding: 0; & > p { padding: 0; + margin: 0; } width: 100%; font-size: 1.2rem;