diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-16 10:05:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-16 10:05:55 +0100 |
commit | 30f939c4b785e8cf2ad829a86f4b2f5892c2fda8 (patch) | |
tree | 0e92c36b04d5eab37108120721d671454868cb19 /client/src/app/header | |
parent | a31aed9c1ceee068656115096d0652ad12848936 (diff) | |
download | PeerTube-30f939c4b785e8cf2ad829a86f4b2f5892c2fda8.tar.gz PeerTube-30f939c4b785e8cf2ad829a86f4b2f5892c2fda8.tar.zst PeerTube-30f939c4b785e8cf2ad829a86f4b2f5892c2fda8.zip |
Fix button/input/select heights
Diffstat (limited to 'client/src/app/header')
-rw-r--r-- | client/src/app/header/header.component.html | 2 | ||||
-rw-r--r-- | client/src/app/header/header.component.scss | 4 | ||||
-rw-r--r-- | client/src/app/header/search-typeahead.component.scss | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/client/src/app/header/header.component.html b/client/src/app/header/header.component.html index b5e9e3dd8..4e327769d 100644 --- a/client/src/app/header/header.component.html +++ b/client/src/app/header/header.component.html | |||
@@ -1,6 +1,6 @@ | |||
1 | <my-search-typeahead class="w-100 d-flex justify-content-center"></my-search-typeahead> | 1 | <my-search-typeahead class="w-100 d-flex justify-content-center"></my-search-typeahead> |
2 | 2 | ||
3 | <a class="publish-button" routerLink="/videos/upload"> | 3 | <a class="peertube-button-link orange-button publish-button" routerLink="/videos/upload"> |
4 | <my-global-icon iconName="upload" aria-hidden="true"></my-global-icon> | 4 | <my-global-icon iconName="upload" aria-hidden="true"></my-global-icon> |
5 | <span i18n class="publish-button-label">Publish</span> | 5 | <span i18n class="publish-button-label">Publish</span> |
6 | </a> | 6 | </a> |
diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index ef7749ced..37bee4645 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss | |||
@@ -2,9 +2,7 @@ | |||
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | .publish-button { | 4 | .publish-button { |
5 | @include peertube-button-link; | 5 | @include button-with-icon(21px, 3px, -1px); |
6 | @include orange-button; | ||
7 | @include button-with-icon(22px, 3px, -1px); | ||
8 | @include margin-right(25px); | 6 | @include margin-right(25px); |
9 | 7 | ||
10 | @media screen and (max-width: $mobile-view) { | 8 | @media screen and (max-width: $mobile-view) { |
diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index 48b61cf3f..b96853400 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss | |||
@@ -2,13 +2,11 @@ | |||
2 | @use '_mixins' as *; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | #search-video { | 4 | #search-video { |
5 | @include peertube-input-text($search-input-width); | 5 | @include peertube-input-text($search-input-width, 14px); |
6 | 6 | ||
7 | @include padding-left(10px); | 7 | @include padding-left(10px); |
8 | @include padding-right(40px); // For the search icon | 8 | @include padding-right(40px); // For the search icon |
9 | 9 | ||
10 | font-size: 14px; | ||
11 | |||
12 | &::placeholder { | 10 | &::placeholder { |
13 | color: pvar(--inputPlaceholderColor); | 11 | color: pvar(--inputPlaceholderColor); |
14 | } | 12 | } |