Skip to content

Commit

Permalink
min-width setting in header
Browse files Browse the repository at this point in the history
  • Loading branch information
naopeke committed Apr 3, 2024
1 parent e96625c commit c7ecf00
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
3 changes: 1 addition & 2 deletions src/app/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
</div>

<div class="dropdown">

<button class="button_lateral" *ngIf="!usersService.isLoginSubject.value" routerLink="register">
<span *ngIf="!isSmallScreen; else mobileIcon">Iniciar sesión</span>
<ng-template #mobileIcon>
<mat-icon>input</mat-icon>
</ng-template>
</button>
<!-- <button class="button_lateral desktop-icon" routerLink="register" *ngIf="!usersService.isLoginSubject.value">Iniciar sesión</button> -->

<button class="button_lateral dropdown-toggle" (click)="modal_visible = !modal_visible" *ngIf="usersService.isLoginSubject.value">{{ currentUser?.nameUser }}</button>
<div *ngIf="modal_visible" class="dropdown-child">
<!-- Crar un espacio de ruptura (&nbsp) -->
Expand Down
3 changes: 2 additions & 1 deletion src/app/pages/about/about.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

section{
display: block;
min-width: 900px;
width: 100%; /*importante*/
min-width: 900px; /*importante*/
background-color: black;
}

Expand Down
3 changes: 2 additions & 1 deletion src/app/pages/calendario/calendario.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
background-image: url('src/assets/images/calendario/fondoCastillo.png');
background-size: cover;
background-repeat: no-repeat;
width: 100%;
width: 100%; /*importante*/
min-width: 900px; /*importante*/
height: 1400px;
display: flex;
justify-content: center;
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/evento/evento.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
padding: 0;
}
#divfondo{
width: 100%;
min-width: 900px; /*super importante*/
width: 100%; /*importante*/
min-width: 900px; /*importante*/
padding-bottom: 30px;
min-height: 1000px;
background-image: url("../../../assets/images/fondos/fondo_evento.png");
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/explora/explora.component.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.mainExplora{
width: 100%;
min-width: 900px;
width: 100%; /*importante*/
min-width: 900px; /*importante*/
display: flex;
flex-direction: column;

Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/home/home.component.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@


.mainHome{
width: 100%;
min-width: 900px;
width: 100%; /*importante*/
min-width: 900px; /*importante*/
height: 1000px;
display: flex;
align-items: center;
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/landing-page/landing-page.component.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
section{
display: block;
width: 100%;
min-width: 699px;
width: 100%; /*importante*/
min-width: 699px; /*importante*/
}

.principal{
Expand Down
3 changes: 2 additions & 1 deletion src/app/pages/profile/profile.component.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.mainPerfil{
width: 100%;
width: 100%; /*importante*/
min-width: 900px; /*importante*/
height: 1000px;

display: flex;
Expand Down

0 comments on commit c7ecf00

Please sign in to comment.