aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/class-helpers
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/sass/class-helpers
parentca589b42f1159d4474d7803c02b0c90579316bd5 (diff)
downloadPeerTube-7ace48819edc63f19f28ba3eedbbfbaa7c6504bd.tar.gz
PeerTube-7ace48819edc63f19f28ba3eedbbfbaa7c6504bd.tar.zst
PeerTube-7ace48819edc63f19f28ba3eedbbfbaa7c6504bd.zip
Add ability to reset originallyPublishedAt
Diffstat (limited to 'client/src/sass/class-helpers')
-rw-r--r--client/src/sass/class-helpers/_forms.scss27
1 files changed, 26 insertions, 1 deletions
diff --git a/client/src/sass/class-helpers/_forms.scss b/client/src/sass/class-helpers/_forms.scss
index 1e78df947..4e5c98aa8 100644
--- a/client/src/sass/class-helpers/_forms.scss
+++ b/client/src/sass/class-helpers/_forms.scss
@@ -49,7 +49,32 @@
49 margin-top: 10px; 49 margin-top: 10px;
50} 50}
51 51
52label+.form-group-description { 52// Useful with a "reset" button
53.label-container {
54 display: flex;
55 white-space: nowrap;
56 align-items: baseline;
57}
58
59label + .form-group-description,
60.label-container + .form-group-description {
53 margin-bottom: 10px; 61 margin-bottom: 10px;
54 margin-top: 0; 62 margin-top: 0;
55} 63}
64
65.reset-button {
66 @include peertube-button;
67 @include grey-button;
68
69 height: auto;
70
71 &.reset-button-small {
72 font-size: 80%;
73 padding: 2px 5px;
74 margin: 0 0.25rem;
75 height: fit-content;
76 line-height: initial;
77 }
78}
79
80