mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
fix(phone/twitter): Fix twitter for light theme (#64)
* fix twitter for light theme * fixed styling on makeStyles
This commit is contained in:
4 files changed
+6
-17
No files matched your search
@@ -19,7 +19,6 @@ import { getNewLineCount } from '../utils/message';
|
|||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
root: {
|
root: {
|
||||||
zIndex: 10,
|
zIndex: 10,
|
||||||
background: '#424242',
|
|
||||||
marginTop: '15px',
|
marginTop: '15px',
|
||||||
width: '90%',
|
width: '90%',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ const useStyles = makeStyles(() => ({
|
|||||||
flexFlow: 'row nowrap',
|
flexFlow: 'row nowrap',
|
||||||
alignItems: 'flex-start',
|
alignItems: 'flex-start',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
marginTop: '3px',
|
marginTop: '6px',
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
@@ -48,7 +48,6 @@ const useStyles = makeStyles(() => ({
|
|||||||
},
|
},
|
||||||
message: {
|
message: {
|
||||||
fontSize: '18px',
|
fontSize: '18px',
|
||||||
color: 'rgba(255, 255, 255, 0.7)',
|
|
||||||
},
|
},
|
||||||
buttonContainer: {
|
buttonContainer: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { TextField } from '@material-ui/core';
|
|||||||
import { usePhone } from '../../../../os/phone/hooks/usePhone';
|
import { usePhone } from '../../../../os/phone/hooks/usePhone';
|
||||||
import { getNewLineCount } from '../../utils/message';
|
import { getNewLineCount } from '../../utils/message';
|
||||||
|
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles({
|
||||||
textField: {
|
textField: {
|
||||||
flex: '1 1 100%',
|
flex: '1 1 100%',
|
||||||
padding: '10px 15px',
|
padding: '10px 15px',
|
||||||
@@ -15,11 +15,9 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
},
|
},
|
||||||
textFieldInput: {
|
textFieldInput: {
|
||||||
fontSize: '22px',
|
fontSize: '22px',
|
||||||
|
paddingTop: '8px'
|
||||||
},
|
},
|
||||||
display: {
|
});
|
||||||
height: '200px',
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
|
|
||||||
export const TweetMessage = ({ message, handleChange }) => {
|
export const TweetMessage = ({ message, handleChange }) => {
|
||||||
const textFieldRef = useRef(null);
|
const textFieldRef = useRef(null);
|
||||||
|
|||||||
@@ -3,11 +3,10 @@ import CloseIcon from '@material-ui/icons/Close';
|
|||||||
import { makeStyles } from '@material-ui/core/styles';
|
import { makeStyles } from '@material-ui/core/styles';
|
||||||
import { Button, Paper } from '@material-ui/core';
|
import { Button, Paper } from '@material-ui/core';
|
||||||
|
|
||||||
const useStyles = makeStyles(() => ({
|
const useStyles = makeStyles({
|
||||||
root: {
|
root: {
|
||||||
padding: '24px',
|
padding: '24px',
|
||||||
zIndex: 10,
|
zIndex: 10,
|
||||||
background: '#424242',
|
|
||||||
marginTop: '15px',
|
marginTop: '15px',
|
||||||
width: '90%',
|
width: '90%',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
@@ -26,13 +25,7 @@ const useStyles = makeStyles(() => ({
|
|||||||
displayNone: {
|
displayNone: {
|
||||||
display: 'none',
|
display: 'none',
|
||||||
},
|
},
|
||||||
imageModalCloseButton: {
|
});
|
||||||
position: 'absolute',
|
|
||||||
right: 0,
|
|
||||||
top: 0,
|
|
||||||
width: '10%',
|
|
||||||
},
|
|
||||||
}));
|
|
||||||
|
|
||||||
export const Modal = ({ children, visible, handleClose }) => {
|
export const Modal = ({ children, visible, handleClose }) => {
|
||||||
const classes = useStyles();
|
const classes = useStyles();
|
||||||
|
|||||||
Reference in new issue
Block a user