Skip to content
Snippets Groups Projects
Commit 62d36355 authored by Abbas Jafari's avatar Abbas Jafari :speech_balloon:
Browse files

Merge branch 'fixes/StylingAndFixedHeader' into 'master'

Header position fixed

See merge request it2810-h21/team-54/project-3!13
parents 4484b208 ea31ff2e
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
} }
.header { .header {
background-color: gray; position: fixed;
width: 100%;
background-color: rgb(1, 0, 34);
min-height: 5vh; min-height: 5vh;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
...@@ -24,6 +26,7 @@ ...@@ -24,6 +26,7 @@
color: white; color: white;
font-size: large; font-size: large;
margin: auto; margin: auto;
z-index: 10;
} }
#textfield1, #textfield2, #checkbox1 { #textfield1, #textfield2, #checkbox1 {
...@@ -55,6 +58,8 @@ ...@@ -55,6 +58,8 @@
} }
table { table {
position: absolute;
margin-top: 5vh;
table-layout:fixed; table-layout:fixed;
width: 100%; width: 100%;
text-align: center; text-align: center;
...@@ -62,15 +67,15 @@ table { ...@@ -62,15 +67,15 @@ table {
th { th {
color: white; color: white;
background-color: rgb(20, 16, 63); background-color: rgb(38, 59, 90);
} }
tr:nth-child(even) { tr:nth-child(even) {
background-color: #cdd1ea; background-color: #c8ddeb;
} }
table, th, td { table, th, td {
border: 1px solid #cdd6ea; border: 1px solid #c5d7ff;
padding: 1em; padding: 1em;
overflow: visible; overflow: visible;
word-wrap: break-word; word-wrap: break-word;
......
...@@ -45,7 +45,6 @@ function Movies(props: MoviesProps){ ...@@ -45,7 +45,6 @@ function Movies(props: MoviesProps){
pageStart={0} pageStart={0}
loadMore={() => { loadMore={() => {
if (MoviesStore.hasMore){ if (MoviesStore.hasMore){
if(MoviesStore.movies.length )
getAllMovies({ lim: MoviesStore.movies.length + 13 }) getAllMovies({ lim: MoviesStore.movies.length + 13 })
} }
}} }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment