Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

soft border-radius for search typeahead suggestions

Rigel Kent6567e5a796a7
diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss
index 4b56fd93a7..c21323f56d 100644
--- a/client/src/app/header/search-typeahead.component.scss
+++ b/client/src/app/header/search-typeahead.component.scss
@@ -38,11 +38,17 @@
#typeahead-instructions,
li.suggestion {
border: 1px solid pvar(--mainBackgroundColor);
- border-bottom-right-radius: 3px;
- border-bottom-left-radius: 3px;
background: pvar(--mainBackgroundColor);
transition: .3s ease;
transition-property: box-shadow;
+
+ // soft border-radius for the last suggestion and the link inside
+ &:last-of-type {
+ &, & ::ng-deep a {
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+ }
+ }
}
#typeahead-help,