Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PB138 - Film Database Group Project
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tomáš Havlíček
PB138 - Film Database Group Project
Commits
8ac0b1e7
There was an error fetching the commit references. Please try again later.
Commit
8ac0b1e7
authored
2 years ago
by
Tomáš Havlíček
Browse files
Options
Downloads
Patches
Plain Diff
feat: added border radius
parent
9c7f44a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/components/MoviePage.tsx
+1
-1
1 addition, 1 deletion
frontend/src/components/MoviePage.tsx
frontend/src/components/PreviewBox.tsx
+2
-1
2 additions, 1 deletion
frontend/src/components/PreviewBox.tsx
with
3 additions
and
2 deletions
frontend/src/components/MoviePage.tsx
+
1
−
1
View file @
8ac0b1e7
...
@@ -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
>
...
...
This diff is collapsed.
Click to expand it.
frontend/src/components/PreviewBox.tsx
+
2
−
1
View file @
8ac0b1e7
...
@@ -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
}
/>
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment