Update css to center elements
This commit is contained in:
parent
700bb63f75
commit
d2bf16d2ea
@ -158,6 +158,10 @@ body {
|
|||||||
grid-column: 2 / 7;
|
grid-column: 2 / 7;
|
||||||
grid-row: 3 ;
|
grid-row: 3 ;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
padding: 1rem;
|
||||||
|
box-sizing: border-box;
|
||||||
|
max-height: 50vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -247,7 +251,7 @@ body {
|
|||||||
.tab-content.active {
|
.tab-content.active {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-evenly;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 80%;
|
height: 80%;
|
||||||
}
|
}
|
||||||
@ -292,6 +296,7 @@ body {
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -299,13 +304,18 @@ body {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
min-height: 40vh;
|
min-height: 40vh;
|
||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
justify-content: space-between;
|
justify-content: flex-start;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-content {
|
.card-content {
|
||||||
|
flex-grow: 1;
|
||||||
|
flex-direction: column;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: center;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -331,6 +341,11 @@ body {
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color: #333;
|
color: #333;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
height: 50px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user