Fixing issue with offset post body and metadata card. Fixes #544

This commit is contained in:
Dessalines 2022-01-12 09:42:14 -05:00
parent 5ad51adc2f
commit b06b641c9e
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ export class MetadataCard extends Component<
return ( return (
<> <>
{post.embed_title && !this.state.expanded && ( {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="row">
<div class="col-12"> <div class="col-12">
<div class="card-body"> <div class="card-body">

View file

@ -161,7 +161,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
body() { body() {
let post = this.props.post_view.post; let post = this.props.post_view.post;
return ( 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 ? ( {this.state.viewSource ? (
<pre>{post.body}</pre> <pre>{post.body}</pre>
) : ( ) : (