Merge pull request #47 from Safelite/feature/Digital/SSR-123

Feature/digital/ssr 123
This commit is contained in:
Kulbhushan Kaushik 2022-11-17 11:45:30 -05:00 committed by GitHub
commit 8172f91d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 10 deletions

View file

@ -131,13 +131,15 @@ export default {
}, },
computed: { computed: {
getFieldSetClasses() { getFieldSetClasses() {
if (this.isOverflowScrollable) { if (this.isOverflowScrollable) {
return "container-fluid overflow-scroll position-absolute px-5 pt-1 py-0"; return "container-fluid overflow-scroll position-absolute px-5 pb-2";
} else if (this.buttonTypeString == "listCard") { }
return "w-100"; else if (this.buttonType == "listCard") {
} else { return "w-100";
return ""; }
} else {
return "";
}
}, },
getComponentLoopWrapperClasses() { getComponentLoopWrapperClasses() {
let classes; let classes;

View file

@ -71,5 +71,11 @@ import { globalEvents } from "@/constants/events";
.site-header { .site-header {
padding: 0.97rem 0; padding: 0.97rem 0;
} }
.logo-image {
max-width: 78px;
}
.alert {
left: 0;
top: 72px;
}
</style> </style>

View file

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div class="d-flex align-items-center justify-content-center container-fluid overflow-hidden"> <div class="d-flex align-items-center justify-content-center container-fluid overflow-hidden">
<h5 class="text-center fw-normal mb-0" > <h5 class="text-center fw-normal mb-0" :class="headerColor">
<span> <span>
{{ content }} {{ content }}
</span> </span>
@ -44,7 +44,10 @@ import buttonBack from "@/common-components/site-sub-header/button-back/button-b
backButtonAccessibleText() backButtonAccessibleText()
{ {
return this.getCmsContent(this.cmsWidgetName, "BackButtonAccessibleText") return this.getCmsContent(this.cmsWidgetName, "BackButtonAccessibleText")
} },
headerColor() {
return this.subText ? "dark-header" : "light-header";
},
}, },
methods: { methods: {
clickEvent() { clickEvent() {
@ -57,6 +60,14 @@ import buttonBack from "@/common-components/site-sub-header/button-back/button-b
<style lang="scss" scoped> <style lang="scss" scoped>
.dark-header {
color: $black;
}
.light-header {
color: $gray-550;
}
h5 { h5 {
line-height: 32px; line-height: 32px;
max-width: 300px; max-width: 300px;
@ -65,4 +76,7 @@ h5 {
color: inherit; color: inherit;
} }
} }
p.small {
color: $gray-550;
}
</style> </style>