Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes issue-1180 fixes the post padding for mobile devices found in timeline.jsx #1292

Merged
merged 3 commits into from
Nov 11, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/frontend/src/components/Post/Post.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { makeStyles } from '@material-ui/core/styles';
import { Box, Grid, Typography, ListSubheader } from '@material-ui/core';
import './telescope-post-content.css';
import AdminButtons from '../AdminButtons';
import { autoDetection } from 'highlight.js';
pyvelkov marked this conversation as resolved.
Show resolved Hide resolved

const useStyles = makeStyles((theme) => ({
root: {
Expand Down Expand Up @@ -52,6 +53,7 @@ const useStyles = makeStyles((theme) => ({
},
},
content: {
overflow: 'auto',
padding: '2em',
color: theme.palette.text.default,
},
Expand Down
4 changes: 4 additions & 0 deletions src/frontend/src/components/Posts/Timeline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import LoadMoreButton from './LoadMoreButton.jsx';
import useSiteMetaData from '../../hooks/use-site-metadata';

const useStyles = makeStyles((theme) => ({
root: {
padding: 0,
maxWidth: '785px',
},
activeCircle: {
borderRadius: '4rem',
transition: 'all linear 250ms',
Expand Down