mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
Fixing issue with offset post body and metadata card. Fixes #544
This commit is contained in:
parent
5ad51adc2f
commit
b06b641c9e
2 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||||
|
|
|
@ -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>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in a new issue