diff --git a/src/app/faq/faq.component.html b/src/app/faq/faq.component.html index 762b88c..3a5ade5 100644 --- a/src/app/faq/faq.component.html +++ b/src/app/faq/faq.component.html @@ -1,14 +1,18 @@
Frequently Asked Questions
-
+
+ +
-
diff --git a/src/app/faq/faq.component.scss b/src/app/faq/faq.component.scss index a50db57..3ab697f 100644 --- a/src/app/faq/faq.component.scss +++ b/src/app/faq/faq.component.scss @@ -7,6 +7,11 @@ color: var(--brand-blue); align-items: center; justify-content: space-between; + overflow: hidden; + + @media screen and (max-width: 1023px) { + width: 100%; + } input { border: 0; @@ -16,6 +21,7 @@ color: var(--dark-grey); flex-grow: 1; letter-spacing: 1px; + height: 100%; &::placeholder { color: var(--grey); @@ -39,11 +45,26 @@ } } +.back-button { + display: none; + + @media screen and (max-width: 1023px) { + display: block; + background-color: var(--brand-blue); + width: 100px; + padding: 0; + } +} + .container { display: flex; width: 95%; margin: 30px auto; letter-spacing: 1px; + + @media screen and (max-width: 1023px) { + width: 90%; + } } .topic-list { @@ -53,9 +74,25 @@ margin: 0 auto; list-style: none; + &.active { + @media screen and (max-width: 1023px) { + display: block; + } + } + + @media screen and (max-width: 1023px) { + height: 100%; + width: 100%; + display: none; + } + &:hover { &::-webkit-scrollbar { display: block; + + @media screen and (max-width: 1023px) { + display: none; + } } } @@ -118,9 +155,25 @@ overflow: auto; padding: 20px 25px; + @media screen and (max-width: 1023px) { + width: 100%; + display: none; + } + + &.active { + @media screen and (max-width: 1023px) { + display: block; + height: auto; + } + } + &:hover { &::-webkit-scrollbar { display: block; + + @media screen and (max-width: 1023px) { + display: none; + } } } @@ -148,12 +201,23 @@ font-size: 20px; color: var(--dark-grey); font-weight: 500; + margin-bottom: 5px; + + @media screen and (max-width: 1023px) { + font-size: 16px; + } } p { font-size: 12px; color: var(--grey); line-height: 1.5; + + @media screen and (max-width: 1023px) { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } } } @@ -169,10 +233,17 @@ border-bottom: 1px solid #efefef; padding: 10px 0; + @media screen and (max-width: 1023px) { + border-bottom: 0; + border-top: 1px solid #efefef; + font-size: 12px; + } + button { background-color: transparent; border: 0px; color: var(--brand-blue); + margin-left: 10px; &.active { color: var(--grey); @@ -189,6 +260,12 @@ font-size: 13px; line-height: 1.5; margin-top: 15px; + padding-bottom: 10px; + + @media screen and (max-width: 1023px) { + margin-top: 0px; + font-size: 12px; + } } } } diff --git a/src/app/more/more.component.html b/src/app/more/more.component.html index 317f346..b0b36be 100644 --- a/src/app/more/more.component.html +++ b/src/app/more/more.component.html @@ -6,15 +6,15 @@
diff --git a/src/app/widgets-holder/widgets-holder.component.ts b/src/app/widgets-holder/widgets-holder.component.ts index 79aa7b6..84d192b 100644 --- a/src/app/widgets-holder/widgets-holder.component.ts +++ b/src/app/widgets-holder/widgets-holder.component.ts @@ -6,11 +6,15 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./widgets-holder.component.scss'] }) export class WidgetsHolderComponent implements OnInit { - selected_nav: string = 'more'; + selected_nav: string = 'faq'; constructor() { } ngOnInit() { } + getNavPage(page: string) { + this.selected_nav = page; + } + }