mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +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) => ({
|
||||
root: {
|
||||
zIndex: 10,
|
||||
background: '#424242',
|
||||
marginTop: '15px',
|
||||
width: '90%',
|
||||
display: 'flex',
|
||||
|
||||
@@ -24,7 +24,7 @@ const useStyles = makeStyles(() => ({
|
||||
flexFlow: 'row nowrap',
|
||||
alignItems: 'flex-start',
|
||||
width: '100%',
|
||||
marginTop: '3px',
|
||||
marginTop: '6px',
|
||||
},
|
||||
content: {
|
||||
display: 'flex',
|
||||
@@ -48,7 +48,6 @@ const useStyles = makeStyles(() => ({
|
||||
},
|
||||
message: {
|
||||
fontSize: '18px',
|
||||
color: 'rgba(255, 255, 255, 0.7)',
|
||||
},
|
||||
buttonContainer: {
|
||||
display: 'flex',
|
||||
|
||||
@@ -5,7 +5,7 @@ import { TextField } from '@material-ui/core';
|
||||
import { usePhone } from '../../../../os/phone/hooks/usePhone';
|
||||
import { getNewLineCount } from '../../utils/message';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
const useStyles = makeStyles({
|
||||
textField: {
|
||||
flex: '1 1 100%',
|
||||
padding: '10px 15px',
|
||||
@@ -15,11 +15,9 @@ const useStyles = makeStyles((theme) => ({
|
||||
},
|
||||
textFieldInput: {
|
||||
fontSize: '22px',
|
||||
paddingTop: '8px'
|
||||
},
|
||||
display: {
|
||||
height: '200px',
|
||||
},
|
||||
}));
|
||||
});
|
||||
|
||||
export const TweetMessage = ({ message, handleChange }) => {
|
||||
const textFieldRef = useRef(null);
|
||||
|
||||
@@ -3,11 +3,10 @@ import CloseIcon from '@material-ui/icons/Close';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Button, Paper } from '@material-ui/core';
|
||||
|
||||
const useStyles = makeStyles(() => ({
|
||||
const useStyles = makeStyles({
|
||||
root: {
|
||||
padding: '24px',
|
||||
zIndex: 10,
|
||||
background: '#424242',
|
||||
marginTop: '15px',
|
||||
width: '90%',
|
||||
display: 'flex',
|
||||
@@ -26,13 +25,7 @@ const useStyles = makeStyles(() => ({
|
||||
displayNone: {
|
||||
display: 'none',
|
||||
},
|
||||
imageModalCloseButton: {
|
||||
position: 'absolute',
|
||||
right: 0,
|
||||
top: 0,
|
||||
width: '10%',
|
||||
},
|
||||
}));
|
||||
});
|
||||
|
||||
export const Modal = ({ children, visible, handleClose }) => {
|
||||
const classes = useStyles();
|
||||
|
||||
Reference in new issue
Block a user