}
& > div {
+ padding: 10px;
width: 350px;
+ &:nth-child(2) {
+ max-width: 60px !important;
+ }
+
@media screen and (max-width: $small-view) {
width: auto;
}
}
}
-
- & > div {
- padding: 10px
- }
}
-
textarea {
@include peertube-textarea(500px, 150px);
+ max-width: 100%;
display: block;
}
.progress {
width: 500px;
+ max-width: 100%;
}
+
+
.row {
flex-direction: column;
+ width: 100%;
+
+ & > my-top-menu-dropdown:nth-child(1) {
+ flex-grow: 1;
+ }
}
<div class="actor-img-edit-container">
<div class="actor-img-edit-button" [ngbTooltip]="'(extensions: '+ avatarExtensions +', max size: 100KB)'" placement="right" container="body">
<my-global-icon iconName="edit"></my-global-icon>
- <input #avatarfileInput type="file" name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="onAvatarChange()"/>
+ <input #avatarfileInput type="file" title=" " name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="onAvatarChange()"/>
</div>
</div>
<div class="sub-header-container">
<my-menu *ngIf="menu.isMenuDisplayed"></my-menu>
- <div id="content" tabindex="-1" class="main-col container-fluid" [ngClass]="{ expanded: menu.isMenuDisplayed === false }">
+ <div id="content" tabindex="-1" class="main-col" [ngClass]="{ expanded: menu.isMenuDisplayed === false }">
<div class="main-row">
<router-outlet></router-outlet>
.sub-header-container {
margin-top: $header-height;
background-color: var(--mainBackgroundColor);
+ width: 100%;
}
.header {
color: black;
}
+.row {
+ margin: 0;
+}
+
.main-col {
margin-left: $menu-width;
- width: auto;
+ width: calc(100% - #{$menu-width});
.margin-content {
margin-left: $not-expanded-horizontal-margins;
// Override some properties if the main content is expanded (no menu on the left)
&.expanded {
margin-left: 0;
+ width: 100%;
.margin-content {
margin-left: $expanded-horizontal-margins;