1 // Bootstrap grid utilities require functions, variables and mixins
2 @import 'node_modules/bootstrap/scss/functions';
3 @import 'node_modules/bootstrap/scss/variables';
4 @import 'node_modules/bootstrap/scss/mixins';
5 @import 'node_modules/bootstrap/scss/grid';
11 @include sub-menu-with-actor;
18 display: grid !important;
19 grid-template-columns: 1fr auto;
20 grid-template-rows: 1fr auto / 1fr auto;
21 grid-template-areas: "name buttons" "lower buttons";
23 @include media-breakpoint-down(lg) {
24 grid-template-areas: "name name" "lower buttons";
44 // margin-content is required, but child views have their own margins
45 // that match views outside the scope of accounts, so we only align
46 // them with the margins of .sub-menu when required.
56 grid-row: buttons-start / span buttons-end;
57 grid-column: buttons-start;
59 @include media-breakpoint-down(lg) {
60 flex-flow: column-reverse;
64 margin-right: 0 !important;
69 @include peertube-button-outline;
78 @media screen and (max-width: $mobile-view) {
81 flex-direction: column;
83 .actor-info .actor-names {
84 flex-direction: column;