Fix title and action buttons in video watch
This commit is contained in:
parent
fafc13fff1
commit
196b7790d6
2 changed files with 8 additions and 5 deletions
|
@ -44,7 +44,7 @@
|
|||
<span class="icon icon-dislike" title="Dislike this video"></span>
|
||||
</div>
|
||||
|
||||
<div (click)="showShareModal()" class="action-button">
|
||||
<div (click)="showShareModal()" class="action-button action-button-share">
|
||||
<span class="icon icon-share"></span>
|
||||
Share
|
||||
</div>
|
||||
|
|
|
@ -42,13 +42,13 @@
|
|||
.video-info-first-row {
|
||||
display: flex;
|
||||
|
||||
& div:first-child {
|
||||
& > div:first-child {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.video-info-name {
|
||||
margin-right: 30px;
|
||||
height: 40px; // Align with the action buttons
|
||||
min-height: 40px; // Align with the action buttons
|
||||
font-size: 27px;
|
||||
font-weight: $font-semibold;
|
||||
flex-grow: 1;
|
||||
|
@ -80,11 +80,10 @@
|
|||
.video-actions-rates {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: end;
|
||||
align-items: flex-end;
|
||||
|
||||
.video-actions {
|
||||
height: 40px; // Align with the title
|
||||
min-width: 215px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
|
@ -125,6 +124,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.action-button-share {
|
||||
width: 82px;
|
||||
}
|
||||
|
||||
&.action-button-like.activated {
|
||||
background-color: #39CC0B;
|
||||
|
||||
|
|
Loading…
Reference in a new issue