From 83c976356ca3a754b4a3ef5159cf38402d4e42ae Mon Sep 17 00:00:00 2001 From: Paola Date: Wed, 4 Aug 2021 11:30:00 -0600 Subject: [PATCH] fix imports --- src/main/webapp/app/app.module.ts | 6 ++---- .../encuesta-compartir-dialog.component.html | 2 +- .../encuesta-compartir-dialog.component.scss | 4 +--- .../app/entities/encuesta/list/encuesta.component.html | 8 +++++--- src/main/webapp/content/scss/global.scss | 3 --- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/app/app.module.ts b/src/main/webapp/app/app.module.ts index 26f9053..e4e66c1 100644 --- a/src/main/webapp/app/app.module.ts +++ b/src/main/webapp/app/app.module.ts @@ -44,10 +44,6 @@ import { ShareIconsModule } from 'ngx-sharebuttons/icons'; SharedModule, HomeModule, PaginaPrincipalModule, - ShareButtonsModule.withConfig({ - debug: true, - }), - ShareIconsModule, // jhipster-needle-angular-add-module JHipster will add new module here EntityRoutingModule, AppRoutingModule, @@ -67,6 +63,8 @@ import { ShareIconsModule } from 'ngx-sharebuttons/icons'; useFactory: missingTranslationHandler, }, }), + ShareButtonsModule, + ShareIconsModule, ], providers: [ Title, diff --git a/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.html b/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.html index 3749deb..cd4c8c5 100644 --- a/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.html +++ b/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.html @@ -13,7 +13,7 @@ [include]="['facebook', 'twitter', 'email']" [show]="5" [showText]="true" - [size]="2" + [size]="1" [url]="baseURL" [title]="'Encuesta DataSurvey'" [image]="'../../../content/img_datasurvey/datasurvey-logo-text-white-PNG.png'" diff --git a/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.scss b/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.scss index b940eae..a6675a7 100644 --- a/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.scss +++ b/src/main/webapp/app/entities/encuesta/encuesta-compartir-dialog/encuesta-compartir-dialog.component.scss @@ -1,8 +1,6 @@ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); -@import '~ngx-sharebuttons/themes/material/material-dark-theme'; -@import '~ngx-sharebuttons/themes/modern/modern-light-theme'; -@import '~ngx-sharebuttons/themes/circles/circles-dark-theme'; +@import '~ngx-sharebuttons/themes/default/default-theme'; .compartir { width: 100% !important; diff --git a/src/main/webapp/app/entities/encuesta/list/encuesta.component.html b/src/main/webapp/app/entities/encuesta/list/encuesta.component.html index 71d76e5..a22910a 100644 --- a/src/main/webapp/app/entities/encuesta/list/encuesta.component.html +++ b/src/main/webapp/app/entities/encuesta/list/encuesta.component.html @@ -172,9 +172,11 @@ style="animation-delay: 3s" > -
- -
+
diff --git a/src/main/webapp/content/scss/global.scss b/src/main/webapp/content/scss/global.scss index e1b4a6d..38b4d86 100644 --- a/src/main/webapp/content/scss/global.scss +++ b/src/main/webapp/content/scss/global.scss @@ -3,9 +3,6 @@ @import '~bootstrap/scss/variables'; @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); -@import '~ngx-sharebuttons/themes/material/material-dark-theme'; -@import '~ngx-sharebuttons/themes/modern/modern-light-theme'; -@import '~ngx-sharebuttons/themes/circles/circles-dark-theme'; /* ============================================================== Bootstrap tweaks