]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+video-channels/video-channels.component.scss
Use grid to organise settings in admin, my-account
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-channels / video-channels.component.scss
index a63b1ec06f5ac74e08d8d68f8d10c2d1cedea1cb..6470629f853d200beb805158b52f39d25cc515b9 100644 (file)
@@ -8,14 +8,47 @@
     width: 100%;
   }
 
+  .actor-info {
+    display: grid !important;
+    grid-template-columns: 1fr auto;
+    grid-template-rows: 1fr auto / 1fr auto;
+    grid-template-areas: "name buttons" "lower buttons";
+
+    @media screen and (max-width: #{map-get($grid-breakpoints, lg)}) {
+      grid-template-areas: "name name" "lower buttons";
+    }
+  }
+
+  .actor-names {
+    grid-area: name;
+  }
+
   .actor-name {
     flex-grow: 1;
+
+    .copy-button {
+      border: none;
+      padding: 5px;
+      margin-top: -2px;
+    }
+  }
+}
+
+.right-buttons {
+  display: flex;
+  height: max-content;
+  margin-left: auto;
+  margin-top: 20px;
+
+  grid-row: buttons-start / span buttons-end;
+  grid-column: buttons-start;
+
+  a {
+    @include peertube-button-outline;
+    line-height: 1.8;
   }
 
   my-subscribe-button {
-    /deep/ span[role=button] {
-      padding: 7px 12px;
-      font-size: 16px;
-    }
+    height: min-content;
   }
-}
\ No newline at end of file
+}