Skip to content

Commit

Permalink
reparado estilos en menu izquierdo
Browse files Browse the repository at this point in the history
  • Loading branch information
fran-cesc committed May 22, 2024
1 parent c6bedda commit d0dc8f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/app/core/layout/main-menu/main-menu.component.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<nav class="main-menu d-flex flex-column justify-content-between">
<div id="main-options">

<a [routerLink]="['challenges']" [routerLinkActive]="['active']">Inicio</a>
<a [routerLink]="['componentToBuild']" [routerLinkActive]="['active']">Inicio</a>

<a [routerLink]="['challenges']" [routerLinkActive]="['active']">{{
"components.mainMenu.section1.title" | translate
}}</a>
<a [routerLink]="['challenges']" [routerLinkActive]="['active']">{{
<a [routerLink]="['componentToBuild']" [routerLinkActive]="['active']">{{
"components.mainMenu.section2.title" | translate
}}</a>
<a [routerLink]="['challenges']" [routerLinkActive]="['active']">Hackathons</a>
<a [routerLink]="['challenges']" [routerLinkActive]="['active']">{{
<a [routerLink]="['componentToBuild']" [routerLinkActive]="['active']">Hackathons</a>
<a [routerLink]="['componentToBuild']" [routerLinkActive]="['active']">{{
"components.mainMenu.section4.title" | translate
}}</a>
<a href="https://dev.itawiki.eurecatacademy.org/">{{
Expand All @@ -24,7 +24,7 @@
>
<a
class="mb-2"
[routerLink]="['challenges']"
[routerLink]="['componentToBuild']"
[routerLinkActive]="['active']"
>
<img
Expand Down
3 changes: 2 additions & 1 deletion src/app/core/layout/main-menu/main-menu.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
&.active {
padding-right: 0;
padding-left: 15px;

font-weight: bold;

&::before {
background: $primary;
}
Expand Down

0 comments on commit d0dc8f7

Please sign in to comment.