@Input() actions: DropdownAction<T>[] | DropdownAction<T>[][] = []
@Input() entry: T
- @Input() placement = 'bottom-left'
+ @Input() placement = 'bottom-left auto'
@Input() buttonSize: DropdownButtonSize = 'normal'
@Input() buttonDirection: DropdownDirection = 'horizontal'
<my-date-toggle *ngIf="displayOptions.date" [date]="video.publishedAt"></my-date-toggle>
<span class="views">
- <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container>
+ <ng-container *ngIf="displayOptions.date && displayOptions.views"> • </ng-container>
<ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container>
</span>
</span>
<h1 class="video-info-name">{{ video.name }}</h1>
<div i18n class="video-info-date-views">
- Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> <span class="views"> - {{ video.views | myNumberFormatter }} views</span>
+ Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> <span class="views"> • {{ video.views | myNumberFormatter }} views</span>
</div>
</div>
<div class="video-info-first-row-bottom">
<div i18n class="d-none d-md-block video-info-date-views">
- Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> <span class="views"> - {{ video.views | myNumberFormatter }} views</span>
+ Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> <span class="views"> • {{ video.views | myNumberFormatter }} views</span>
</div>
<div class="video-actions-rates">
}
}
+
+@media screen and (min-width: 768px) {
+ .modal:before {
+ display: inline-block;
+ vertical-align: middle;
+ content: " ";
+ height: 100%;
+ }
+
+ .modal-dialog {
+ display: inline-block;
+ text-align: left;
+ vertical-align: middle;
+ min-width: 500px;
+ width: 40vw;
+ max-width: 900px;
+ }
+}
+
.modal {
+ text-align: center;
+
.modal-content {
background-color: var(--mainBackgroundColor);
}