From 20559bb7d10989fb54db4b5a097b76c93217250c Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Thu, 23 Apr 2020 06:42:32 +0000 Subject: [PATCH] [Library|Trunk] Updates on searchbar and navbar: searchbar width, button, css library.css: searchbar css navbar z-index same as uk-sticky nav bar (from theme.css) beta indication z-index git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58522 d315682c-612b-4755-9ff5-7f18f6832af3 --- sharedComponents/navigationBar.component.html | 6 +- .../searchBar/searchBar.component.html | 70 ++++++++----------- .../searchBar/searchBar.component.ts | 1 + 3 files changed, 34 insertions(+), 43 deletions(-) diff --git a/sharedComponents/navigationBar.component.html b/sharedComponents/navigationBar.component.html index a2eb5677..4daec99a 100644 --- a/sharedComponents/navigationBar.component.html +++ b/sharedComponents/navigationBar.component.html @@ -27,7 +27,7 @@ {{community.name}}
+ class=" uk-width-large ">
@@ -150,7 +150,7 @@
+ class=" uk-margin-left uk-width-xlarge ">
@@ -170,7 +170,7 @@ class="uk-margin-left uk-text-large"> {{community.name}}
+ class="uk-width-large ">
diff --git a/sharedComponents/searchBar/searchBar.component.html b/sharedComponents/searchBar/searchBar.component.html index 4e564521..7304d305 100644 --- a/sharedComponents/searchBar/searchBar.component.html +++ b/sharedComponents/searchBar/searchBar.component.html @@ -1,42 +1,32 @@ -
- - - +
+
+ + +
+ + + diff --git a/sharedComponents/searchBar/searchBar.component.ts b/sharedComponents/searchBar/searchBar.component.ts index b075d98a..59265512 100644 --- a/sharedComponents/searchBar/searchBar.component.ts +++ b/sharedComponents/searchBar/searchBar.component.ts @@ -107,6 +107,7 @@ console.log(this.entityType); } getCurrentRoute() { + console.log(this.router.url.split('?')[0]); return this.router.url.split('?')[0]; } entityChanged($event){