mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 01:01:14 +00:00
Fixing issue with offset post body and metadata card. Fixes #544
This commit is contained in:
parent
5ad51adc2f
commit
b06b641c9e
|
@ -29,7 +29,7 @@ export class MetadataCard extends Component<
|
|||
return (
|
||||
<>
|
||||
{post.embed_title && !this.state.expanded && (
|
||||
<div class="card border-secondary mt-3 mb-2 offset-sm-3">
|
||||
<div class="card border-secondary mt-3 mb-2">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card-body">
|
||||
|
|
|
@ -161,7 +161,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
body() {
|
||||
let post = this.props.post_view.post;
|
||||
return (
|
||||
<div class="col-12 col-sm-9 offset-sm-3 card my-2 p-2">
|
||||
<div class="col-12 card my-2 p-2">
|
||||
{this.state.viewSource ? (
|
||||
<pre>{post.body}</pre>
|
||||
) : (
|
||||
|
|
Loading…
Reference in a new issue