Skip to content

Commit f05c94e

Browse files
authored
fix: APPS-2434 Update component library to be able to select Meap filters when hanging over block-highlight component (#110)
* update component library * add z-index to filtered search * add v-deep to section-teaser-card
1 parent 20a0760 commit f05c94e

File tree

3 files changed

+35
-30
lines changed

3 files changed

+35
-30
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"sass": "^1.45.2",
4444
"sass-loader": "^10.1.1",
4545
"ucla-library-design-tokens": "^5.5.0",
46-
"ucla-library-website-components": "^2.38.6",
46+
"ucla-library-website-components": "^2.41.0",
4747
"vue-svg-loader": "^0.16.0",
4848
"vue-template-compiler": "^2.6.12"
4949
}

pages/projects/index.vue

+27-22
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template lang="html">
2-
<main
3-
id="main"
4-
class="page page-project-list"
5-
>
2+
<main id="main" class="page page-project-list">
63
<masthead-secondary
74
:title="summaryData.projectListTitle"
85
:text="summaryData.projectListSummary"
@@ -16,52 +13,48 @@
1613
placeholder="Search Projects"
1714
@search-ready="getSearchData"
1815
/>
16+
1917
<section-wrapper theme="divider">
2018
<divider-way-finder class="search-margin" />
2119
</section-wrapper>
20+
2221
<section-wrapper
2322
v-show="
2423
page &&
25-
projectList.length &&
26-
hits.length == 0 &&
27-
!noResultsFound
24+
projectList.length &&
25+
hits.length == 0 &&
26+
!noResultsFound
2827
"
2928
section-title="All Projects"
3029
>
3130
<section-teaser-card :items="projectList" />
3231
</section-wrapper>
32+
3333
<section-wrapper
3434
v-show="hits && hits.length > 0"
3535
class="section-no-top-margin"
3636
>
37-
<h2
38-
v-if="$route.query.q"
39-
class="about-results"
40-
>
37+
<h2 v-if="$route.query.q" class="about-results">
4138
Displaying {{ hits.length }} results for
42-
<strong><em>“{{ $route.query.q }}</em></strong>”
39+
<strong
40+
><em>“{{ $route.query.q }}</em></strong
41+
>”
4342
</h2>
44-
<h2
45-
v-else
46-
class="about-results"
47-
>
43+
<h2 v-else class="about-results">
4844
Displaying {{ hits.length }} results
4945
</h2>
5046

5147
<section-teaser-card :items="parseHitsResults" />
5248
</section-wrapper>
5349

5450
<!-- NO RESULTS -->
55-
<section-wrapper
56-
v-show="noResultsFound"
57-
class="section-no-top-margin"
58-
>
51+
<section-wrapper v-show="noResultsFound" class="section-no-top-margin">
5952
<div class="error-text">
6053
<rich-text>
6154
<h2>Search for “{{ $route.query.q }}” not found.</h2>
6255
<p>
6356
We can’t find the term you are looking for on this page.
64-
<br>
57+
<br />
6558
<!-- Try searching the whole site from
6659
<a href="https://library.ucla.edu">UCLA Library Home</a>, or try one of the these regularly visited links:
6760
</p>
@@ -302,4 +295,16 @@ export default {
302295
}
303296
</script>
304297

305-
<style lang="scss" scoped></style>
298+
<style lang="scss" scoped>
299+
.generic-search {
300+
z-index: 30;
301+
}
302+
303+
::v-deep .section-teaser-card {
304+
z-index: 0;
305+
}
306+
307+
::v-deep .block-highlight .meta {
308+
z-index: 0;
309+
}
310+
</style>

0 commit comments

Comments
 (0)