diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-26 12:22:12 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-26 12:41:15 +1100 |
| commit | dacc1b2e8fe4b7971304116fce54b3757d37d164 (patch) | |
| tree | f06c58581ea269354f086b0c3ffa30e4227809c1 /src/components/TileImg.vue | |
| parent | 91f78e4ec12eda07840b940692013a1aa025b7b8 (diff) | |
Highlight search result
Diffstat (limited to 'src/components/TileImg.vue')
| -rw-r--r-- | src/components/TileImg.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue index 1d83b37..1eb056a 100644 --- a/src/components/TileImg.vue +++ b/src/components/TileImg.vue @@ -35,7 +35,8 @@ export default defineComponent({ flexDirection: 'column', // Other borderRadius: this.options.borderRadius + 'px', - boxShadow: this.highlight ? this.options.shadowHighlight : this.options.shadowNormal, + boxShadow: this.highlight ? this.options.shadowHighlight : + (this.layoutNode.searchResult ? this.options.shadowSearchResult : this.options.shadowNormal), }; }, headerStyles(): Record<string,string> { |
