Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tab view on settings page #3551

Merged
merged 14 commits into from
Aug 13, 2021
Merged
2 changes: 2 additions & 0 deletions frontend_v2/src/app/components/challenge/challenge.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
MatRadioModule,
MatDialogModule,
MatSliderModule,
MatTabsModule,
} from '@angular/material';

// import components
Expand Down Expand Up @@ -66,6 +67,7 @@ import { ChallengeanalyticsComponent } from './challengeanalytics/challengeanaly
MatRadioModule,
MatDialogModule,
MatSliderModule,
MatTabsModule,
],
exports: [
ChallengeComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h5 class="fw-light">Leaderboard</h5>
<div class="row">
<div class="col-sm-6 col-xs-12 col-lg-6 col-lr-pad phase-select-box col-lr-margin">
<app-selectphase
[phases]="filteredPhaseSplits"
[phaseSplits]="filteredPhaseSplits"
[phaseSelectionType]="phaseSelectionType"
[phaseSelectionListType]="phaseSelectionListType"
[selectedPhaseSplitUrlChange]="selectedPhaseSplitUrlChange"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,27 @@

.challenge-card {
.bottom-card-container {
padding-top: 0px;
.settings-section {
padding: 20px 30px;
padding: 50px;
border: 1px solid;
border-radius: 5px;
min-height: 50px;
color: rgb(101, 97, 97);
}
}
.row {
margin: 4% 0px 4% 0px;
}
}

input {
border-bottom: none;
}

:host ::ng-deep .mat-tab-label .mat-tab-label-content{
font-weight: $fw-light !important;
font-size: $fs-16 !important;
}

.phase-card {
Expand All @@ -21,12 +34,26 @@
margin-left: 25px;
}

.worker-title {
margin-bottom: 2%;
}

.upload-container {
text-align:center;
}

@include screen-medium {
.settings-section {
padding: 10px 20px !important;
}
}

@media (min-width: 992px) {
.col-md-12 {
width: auto;
}
}

@include screen-small-medium {
.settings-section {
padding: 10px 10px !important;
Expand All @@ -48,7 +75,6 @@
}

.challenge-detail {
margin-left: 25%;
padding: 8px;
}

Expand Down
Loading