Fixed styles
This commit is contained in:
parent
29b0ab533c
commit
e6c1b201a6
@ -61,11 +61,13 @@ const BlogView = ({ setCurrentView, slug }) => {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
bodyStyle={{
|
||||
flex: 1,
|
||||
overflowY: "auto",
|
||||
padding: "0",
|
||||
margin: "20px 0",
|
||||
styles={{
|
||||
body: {
|
||||
flex: 1,
|
||||
overflowY: "auto",
|
||||
padding: "0",
|
||||
margin: "20px 0",
|
||||
},
|
||||
}}
|
||||
actions={[
|
||||
<Button
|
||||
|
||||
@ -82,11 +82,13 @@ const BlogsView = ({ setCurrentView }) => {
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
bodyStyle={{
|
||||
flex: 1,
|
||||
overflowY: "hidden", // Changed from auto to hidden
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
styles={{
|
||||
body: {
|
||||
flex: 1,
|
||||
overflowY: "auto",
|
||||
padding: "0",
|
||||
margin: "20px 0",
|
||||
},
|
||||
}}
|
||||
actions={[
|
||||
<Button
|
||||
|
||||
@ -17,6 +17,16 @@ const CVView = ({ setCurrentView }) => {
|
||||
style={{
|
||||
width: isMobile ? "100%" : "70%",
|
||||
height: isMobile ? "100%" : "70%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
styles={{
|
||||
body: {
|
||||
flex: 1,
|
||||
overflowY: "auto",
|
||||
padding: "0",
|
||||
margin: "20px 0",
|
||||
},
|
||||
}}
|
||||
actions={[
|
||||
<Button
|
||||
|
||||
@ -43,6 +43,16 @@ const ContactView = ({ setCurrentView }) => {
|
||||
style={{
|
||||
width: isMobile ? "100%" : "70%",
|
||||
height: isMobile ? "100%" : "70%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
styles={{
|
||||
body: {
|
||||
flex: 1,
|
||||
overflowY: "auto",
|
||||
padding: "0",
|
||||
margin: "20px 0",
|
||||
},
|
||||
}}
|
||||
actions={[
|
||||
<Button
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import { useMediaQuery } from "react-responsive";
|
||||
import { Button, Card, Flex } from "antd";
|
||||
const ExperienceView = ({ setCurrentView }) => {
|
||||
@ -11,6 +11,16 @@ const ExperienceView = ({ setCurrentView }) => {
|
||||
style={{
|
||||
width: isMobile ? "100%" : "70%",
|
||||
height: isMobile ? "100%" : "70%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
styles={{
|
||||
body: {
|
||||
flex: 1,
|
||||
overflowY: "auto",
|
||||
padding: "0",
|
||||
margin: "20px 0",
|
||||
},
|
||||
}}
|
||||
actions={[
|
||||
<Button
|
||||
@ -65,4 +75,7 @@ const ExperienceView = ({ setCurrentView }) => {
|
||||
);
|
||||
};
|
||||
|
||||
ExperienceView.propTypes = {
|
||||
setCurrentView: PropTypes.func.isRequired,
|
||||
};
|
||||
export default ExperienceView;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user