aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-18 11:40:54 +0200
committerChocobozzz <me@florianbigard.com>2023-08-18 11:40:54 +0200
commit7ace48819edc63f19f28ba3eedbbfbaa7c6504bd (patch)
treebc0fcf2fc9e1da9184d7581de2cf063e83ab00d0 /client/src/app/shared
parentca589b42f1159d4474d7803c02b0c90579316bd5 (diff)
downloadPeerTube-7ace48819edc63f19f28ba3eedbbfbaa7c6504bd.tar.gz
PeerTube-7ace48819edc63f19f28ba3eedbbfbaa7c6504bd.tar.zst
PeerTube-7ace48819edc63f19f28ba3eedbbfbaa7c6504bd.zip
Add ability to reset originallyPublishedAt
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-forms/reactive-file.component.html2
-rw-r--r--client/src/app/shared/shared-forms/reactive-file.component.scss11
2 files changed, 1 insertions, 12 deletions
diff --git a/client/src/app/shared/shared-forms/reactive-file.component.html b/client/src/app/shared/shared-forms/reactive-file.component.html
index 8e38697e4..33bb88f1f 100644
--- a/client/src/app/shared/shared-forms/reactive-file.component.html
+++ b/client/src/app/shared/shared-forms/reactive-file.component.html
@@ -13,7 +13,7 @@
13 13
14 <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div> 14 <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div>
15 15
16 <button *ngIf="displayReset && filename" i18n class="reset-button" (click)="reset()"> 16 <button *ngIf="displayReset && filename" i18n class="reset-button reset-button-small ms-2" (click)="reset()">
17 Reset 17 Reset
18 </button> 18 </button>
19</div> 19</div>
diff --git a/client/src/app/shared/shared-forms/reactive-file.component.scss b/client/src/app/shared/shared-forms/reactive-file.component.scss
index f9ba5805a..a0afe1eee 100644
--- a/client/src/app/shared/shared-forms/reactive-file.component.scss
+++ b/client/src/app/shared/shared-forms/reactive-file.component.scss
@@ -19,15 +19,4 @@
19 19
20 font-weight: $font-semibold; 20 font-weight: $font-semibold;
21 } 21 }
22
23 .reset-button {
24 @include peertube-button;
25 @include grey-button;
26
27 font-size: 80%;
28 margin-left: 5px;
29 line-height: initial;
30 padding: 2px 5px;
31 height: auto;
32 }
33} 22}