aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channels.component.scss
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-02-04 16:44:53 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-02-13 16:35:24 +0100
commit9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110 (patch)
treef38e6f83a9d892a99f930c0a25b1a405e679cd4a /client/src/app/+video-channels/video-channels.component.scss
parentece3029bd99a76b3c48a1cc8c58914c5cf61f106 (diff)
downloadPeerTube-9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110.tar.gz
PeerTube-9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110.tar.zst
PeerTube-9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110.zip
Improve search typeahead performance and use native events
Diffstat (limited to 'client/src/app/+video-channels/video-channels.component.scss')
-rw-r--r--client/src/app/+video-channels/video-channels.component.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss
index 50b69e7ac..aa26a7e7b 100644
--- a/client/src/app/+video-channels/video-channels.component.scss
+++ b/client/src/app/+video-channels/video-channels.component.scss
@@ -8,6 +8,23 @@
8 width: 100%; 8 width: 100%;
9 } 9 }
10 10
11 .actor-info {
12 display: grid !important;
13 grid-template-columns: 1fr auto;
14 grid-template-rows: 1fr auto / 1fr auto;
15 grid-template-areas: "name buttons"
16 "lower buttons";
17
18 @media screen and (max-width: #{map-get($grid-breakpoints, lg)}) {
19 grid-template-areas: "name name"
20 "lower buttons";
21 }
22 }
23
24 .actor-names {
25 grid-area: name;
26 }
27
11 .actor-name { 28 .actor-name {
12 flex-grow: 1; 29 flex-grow: 1;
13 30
@@ -25,6 +42,9 @@
25 margin-left: auto; 42 margin-left: auto;
26 margin-top: 20px; 43 margin-top: 20px;
27 44
45 grid-row: buttons-start / span buttons-end;
46 grid-column: buttons-start;
47
28 a { 48 a {
29 @include peertube-button-outline; 49 @include peertube-button-outline;
30 line-height: 1.8; 50 line-height: 1.8;