Fix buttons CSS
This commit is contained in:
parent
15825ef18d
commit
420a6043cc
|
@ -37,7 +37,7 @@
|
|||
></div>
|
||||
|
||||
<div class="comment-actions">
|
||||
<div tabindex=0 (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div>
|
||||
<button (click)="onWantToReply()" class="comment-action-reply border-0 p-0" i18n>Reply</button>
|
||||
|
||||
<my-user-moderation-dropdown
|
||||
[prependActions]="prependModerationActions" tabindex=0 [buttonStyled]="false"
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
.view-replies {
|
||||
font-weight: $font-semibold;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
.chevron-down {
|
||||
@include margin-left(0);
|
||||
}
|
||||
}
|
||||
|
||||
.title-block {
|
||||
|
@ -37,12 +42,6 @@
|
|||
border: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.view-replies {
|
||||
@include margin-left(46px);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 450px) {
|
||||
.view-replies {
|
||||
font-size: 14px;
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
@media screen and (max-width: $mobile-view) {
|
||||
@include margin-right(10px);
|
||||
|
||||
padding: 0 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
|
||||
.icon.icon-upload {
|
||||
@include margin-right(0);
|
||||
|
|
|
@ -252,6 +252,8 @@ my-actor-avatar {
|
|||
|
||||
> a,
|
||||
> my-login-link {
|
||||
@include ellipsis;
|
||||
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
|
|
|
@ -25,7 +25,3 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
my-global-icon {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
|
||||
.actor-img-edit-button {
|
||||
@include peertube-button-file(30px);
|
||||
@include button-with-icon;
|
||||
@include orange-button;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
cursor: pointer;
|
||||
|
|
|
@ -250,12 +250,10 @@
|
|||
}
|
||||
|
||||
@mixin peertube-button {
|
||||
padding: 0 13px;
|
||||
padding: 4px 13px;
|
||||
|
||||
border: 0;
|
||||
font-weight: $font-semibold;
|
||||
min-height: $button-height;
|
||||
line-height: $button-height;
|
||||
|
||||
// Because of primeng that redefines border-radius of all input[type="..."]
|
||||
border-radius: 3px !important;
|
||||
|
@ -267,6 +265,7 @@
|
|||
|
||||
my-global-icon + * {
|
||||
@include margin-right(4px);
|
||||
@include margin-left(4px);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -318,7 +317,6 @@
|
|||
position: relative;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
min-height: 30px;
|
||||
|
||||
input[type=file] {
|
||||
position: absolute;
|
||||
|
@ -331,7 +329,7 @@
|
|||
filter: alpha(opacity=0);
|
||||
opacity: 0;
|
||||
outline: none;
|
||||
background: #fff;
|
||||
background: pvar(--mainBackgroundColor);
|
||||
cursor: inherit;
|
||||
display: block;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue