This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 4101b85e authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Improve search UI for different screen widths

parent 11c692d3
Branches
Tags
2 merge requests!17Initial Merge to Prepare Release 1.0.0,!1Resolve "Metadaten konsolideren"
......@@ -5,13 +5,13 @@
(scrolled)="onScroll()">
<jhi-search-input
class="col-md-6 col-lg-4 col-xl-3"
class="col-12 col-md-6 col-lg-4 col-xl-3"
(searchInputEvent)="updateSearchInput($event)">
</jhi-search-input>
<div class="col-md-6 col-lg-8 col-xl-9">
<div class="col-12 col-md-6 col-lg-8 col-xl-9">
<div class="row">
<jhi-exercise-card *ngFor="let result of results"
class="card-container col-md-12 col-lg-6 col-xl-4"
class="card-container col-12 col-lg-6 col-xl-4"
[exercise]="result"
(exerciseSelectionEvent)="selectExercise($event)">
</jhi-exercise-card>
......
<div class="card-container">
<div style="float: left; width: 100%; position: relative;">
<h2 class="display-4" style="float: left;" jhiTranslate="search.title">Welcome!</h2>
<h2 class="display-4" style="float: left; width: 100%;" jhiTranslate="search.title">Welcome!</h2>
<div style="width: 100%; margin-bottom: 20px;">
<button type="button"
class="btn btn-outline-secondary" style="float: right; margin-top: auto; position: absolute;
top: 1.2rem; right: 0;"
(click)="showSearchUsage = !showSearchUsage"
class="btn btn-outline-secondary"
(click)="showSearchUsage = !showSearchUsage"
>{{ (showSearchUsage ? 'search.hideUsage' : 'search.showUsage') | translate}}</button>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment