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