diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-13 11:42:23 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-13 11:42:23 +0200 |
commit | f72c78b2f6f7c7fdf1c9582b55498f1a522fe1e1 (patch) | |
tree | 0f234531cc03b51a34b2bdd124096390f5e72f27 /client/src/app | |
parent | dc1296a9abfeeb714f321454dde32389a0f40c7e (diff) | |
download | PeerTube-f72c78b2f6f7c7fdf1c9582b55498f1a522fe1e1.tar.gz PeerTube-f72c78b2f6f7c7fdf1c9582b55498f1a522fe1e1.tar.zst PeerTube-f72c78b2f6f7c7fdf1c9582b55498f1a522fe1e1.zip |
Reorganize application.scss
Diffstat (limited to 'client/src/app')
3 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.html b/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.html index f23efca98..cf32e371a 100644 --- a/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.html +++ b/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <div class="video-actions-rates"> | 1 | <div class="video-actions-rates"> |
2 | <div class="video-actions full-width justify-content-end"> | 2 | <div class="video-actions justify-content-end"> |
3 | <my-video-rate | 3 | <my-video-rate |
4 | [video]="video" [isUserLoggedIn]="isUserLoggedIn" | 4 | [video]="video" [isUserLoggedIn]="isUserLoggedIn" |
5 | (rateUpdated)="onRateUpdated($event)" (userRatingLoaded)="onRateUpdated($event)" | 5 | (rateUpdated)="onRateUpdated($event)" (userRatingLoaded)="onRateUpdated($event)" |
diff --git a/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.scss b/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.scss index fdf4e3edb..786d10f73 100644 --- a/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.scss +++ b/client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.scss | |||
@@ -5,6 +5,9 @@ | |||
5 | height: 40px; // Align with the title | 5 | height: 40px; // Align with the title |
6 | display: flex; | 6 | display: flex; |
7 | align-items: center; | 7 | align-items: center; |
8 | width: 100%; | ||
9 | margin: 0 auto; | ||
10 | max-width: initial; | ||
8 | 11 | ||
9 | .action-button:not(:first-child), | 12 | .action-button:not(:first-child), |
10 | .action-dropdown, | 13 | .action-dropdown, |
diff --git a/client/src/app/shared/shared-forms/input-text.component.ts b/client/src/app/shared/shared-forms/input-text.component.ts index 1e1da6771..ed4637c17 100644 --- a/client/src/app/shared/shared-forms/input-text.component.ts +++ b/client/src/app/shared/shared-forms/input-text.component.ts | |||
@@ -2,7 +2,6 @@ import { Component, forwardRef, Input } from '@angular/core' | |||
2 | import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms' | 2 | import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms' |
3 | import { Notifier } from '@app/core' | 3 | import { Notifier } from '@app/core' |
4 | 4 | ||
5 | |||
6 | @Component({ | 5 | @Component({ |
7 | selector: 'my-input-text', | 6 | selector: 'my-input-text', |
8 | templateUrl: './input-text.component.html', | 7 | templateUrl: './input-text.component.html', |