style: whitespace weg bij bekijken van de homepagina op een tablet
This commit is contained in:
parent
93cad5da98
commit
1b47439c75
1 changed files with 22 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
<main>
|
||||
<div class="layout">
|
||||
<div class="container_left">
|
||||
<img :src="dwengoLogo" />
|
||||
<img :src="dwengoLogo" style="align-self: center;"/>
|
||||
<h> {{ t("homeTitle") }}</h>
|
||||
<p class="info">
|
||||
{{ t("homeIntroduction1") }}
|
||||
|
@ -32,7 +32,7 @@
|
|||
<v-btn
|
||||
size="large"
|
||||
density="comfortable"
|
||||
style="font-weight: bolder; color: white"
|
||||
style="font-weight: bolder; color: white; align-self: center;"
|
||||
color="#88BD28"
|
||||
to="/login"
|
||||
>
|
||||
|
@ -158,6 +158,7 @@
|
|||
h {
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
align-self: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
@ -169,4 +170,23 @@
|
|||
text-align: center;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.container_left {
|
||||
width: 100%; /* Full width on tablets */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start; /* Align content to the left */
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
position: relative; /* Ensure child elements are positioned relative to this */
|
||||
}
|
||||
|
||||
.container_right {
|
||||
position: absolute;
|
||||
top: 10px; /* Adjust top position to align properly */
|
||||
right: 70px; /* Keep it in the right corner */
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue