Skip to content
Snippets Groups Projects
Commit f10cc97d authored by Dante Aléo's avatar Dante Aléo :pouting_cat:
Browse files

Merge branch '101-responsividade-da-pagina-de-mapas' into 'development'

Resolve "Responsividade da página de mapas"

Closes #101

See merge request !116
parents f5e617bb 5c30f941
No related branches found
No related tags found
1 merge request!116Resolve "Responsividade da página de mapas"
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
bottom: 20px; bottom: 20px;
left: 20px; left: 20px;
right: 20px; right: 20px;
overflow: scroll; overflow-y: scroll;
margin: 0; margin: 0;
padding: 0; padding: 0;
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
font-weight: bolder; font-weight: bolder;
text-decoration: none; text-decoration: none;
&:hover { &:hover {
cursor: pointer; cursor: pointer;
background-color: $dark-purple; background-color: $dark-purple;
......
...@@ -39,8 +39,13 @@ ...@@ -39,8 +39,13 @@
<div class="row row-hospital-selector"> <div class="row row-hospital-selector">
<div class="map-container">
<div class="map-frame">
<div id="map"></div>
</div>
</div>
<div class="col-12 col-md-4 hosp-col"> <div class="col-12 col-md-4">
<button routerLink="/registro-hospital" class="register_button"> <button routerLink="/registro-hospital" class="register_button">
Cadastrar novo hospital Cadastrar novo hospital
</button> </button>
...@@ -53,12 +58,6 @@ ...@@ -53,12 +58,6 @@
</div> </div>
</div> </div>
<div class="map-container">
<div class="map-frame">
<div id="map"></div>
</div>
</div>
</div> </div>
......
...@@ -45,14 +45,11 @@ ...@@ -45,14 +45,11 @@
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
height: 285px; height: 285px;
max-height:600px; max-height:285px;
background-color: #ffffff;
overflow-y: scroll;
background-color: #ffffff;
} }
.row-hospital-selector{ .row-hospital-selector{
height:600px; height:600px;
overflow:hidden;
} }
.hosp-col{ .hosp-col{
...@@ -63,17 +60,14 @@ ...@@ -63,17 +60,14 @@
.map-container { .map-container {
margin-top: 10px; margin-top: 10px;
width:92%; width:92%;
max-height:400px; height:400px;
margin-bottom: 10px;
} }
.hospital-selector{ .hospital-selector{
max-height:600px; height:400px;
} }
.row-hospital-selector{ .row-hospital-selector{
height:850px; height:auto;
overflow:hidden;
}
.hosp-col{
max-height: 400px;
} }
} }
......
...@@ -141,7 +141,7 @@ export class MapsPageComponent implements AfterViewInit { ...@@ -141,7 +141,7 @@ export class MapsPageComponent implements AfterViewInit {
}; };
let x = document.getElementById("hospital-card") let x = document.getElementById("hospital-card")
x.style.display = "block" x.style.display = "block"
console.log(this.selectedHospital) //console.log(this.selectedHospital)
} }
......
...@@ -27,7 +27,6 @@ input { ...@@ -27,7 +27,6 @@ input {
background-color: $white; background-color: $white;
border: 2px solid $text-dark; border: 2px solid $text-dark;
border-radius: 10px; border-radius: 10px;
} }
.input-text { .input-text {
...@@ -40,6 +39,11 @@ input { ...@@ -40,6 +39,11 @@ input {
width: 45%; width: 45%;
display: inline-block; display: inline-block;
margin-left: 3%; margin-left: 3%;
@media only screen and (max-width: $break-small) {
display: block;
width: 100%;
}
} }
.submit-button { .submit-button {
...@@ -60,6 +64,11 @@ input { ...@@ -60,6 +64,11 @@ input {
text-decoration: none; text-decoration: none;
background: $dark-purple; background: $dark-purple;
} }
@media only screen and (max-width: $break-small) {
width: 90%;
margin-left: 5%;
margin-right: 5%;
}
} }
.file-input { .file-input {
...@@ -83,6 +92,11 @@ input { ...@@ -83,6 +92,11 @@ input {
background: $dark-purple; background: $dark-purple;
} }
@media only screen and (max-width: $break-small) {
width: 90%;
margin-left: 5%;
margin-right: 5%;
}
} }
.selected-image { .selected-image {
...@@ -92,4 +106,10 @@ input { ...@@ -92,4 +106,10 @@ input {
margin-top: 20px; margin-top: 20px;
margin-left: 20px; margin-left: 20px;
@media only screen and (max-width: $break-small) {
width: 94%;
margin-left: 3%;
margin-right: 3%;
margin-bottom: 10px;
}
} }
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