Skip to content
Snippets Groups Projects
Commit 8ac0b1e7 authored by Tomáš Havlíček's avatar Tomáš Havlíček
Browse files

feat: added border radius

parent 9c7f44a4
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ export const MoviePage = () => { ...@@ -38,7 +38,7 @@ export const MoviePage = () => {
<Descriptions <Descriptions
title={movie.name} title={movie.name}
bordered bordered
style={{ padding: "5%" }} style={{ padding: "5%",}}
> >
<Descriptions.Item label="Title picture" span={3}> <Descriptions.Item label="Title picture" span={3}>
<Image height={400} src={movie.picture}></Image> <Image height={400} src={movie.picture}></Image>
......
...@@ -13,7 +13,7 @@ export const PreviewBox: React.FC<IPreviewBoxProps> = ({ title, movies }) => { ...@@ -13,7 +13,7 @@ export const PreviewBox: React.FC<IPreviewBoxProps> = ({ title, movies }) => {
return ( return (
<Card title={title} style={{ borderWidth: 4, borderColor:mainColor, background: sideColor}}> <Card title={title} style={{ borderWidth: 4, borderColor:mainColor, background: sideColor, borderRadius: "10px",}}>
<Row justify="space-evenly" align="bottom" gutter={50}> <Row justify="space-evenly" align="bottom" gutter={50}>
{movies.map((movie) => { {movies.map((movie) => {
return ( return (
...@@ -24,6 +24,7 @@ export const PreviewBox: React.FC<IPreviewBoxProps> = ({ title, movies }) => { ...@@ -24,6 +24,7 @@ export const PreviewBox: React.FC<IPreviewBoxProps> = ({ title, movies }) => {
style={{ style={{
width: "240px", width: "240px",
borderWidth: "2px", borderWidth: "2px",
borderRadius: "5px",
borderColor: middleColor borderColor: middleColor
}} }}
cover={<img alt={movie.name} src={movie.picture} />} cover={<img alt={movie.name} src={movie.picture} />}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment