Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Improve positioning of ActivityDiagram on ProjectCard
Sebastian Martinez committed 2 years ago
commit d00b8f5a1a61a90424a10399b1da785445ff4de2
parent 5265a6b24522234828ef1b8f4a2ec99a3fec49de
1 file changed +10 -0
modified src/components/ProjectCard.svelte
@@ -19,6 +19,7 @@

<style>
  .project {
+
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
@@ -36,6 +37,8 @@
    align-items: flex-end;
  }
  .left {
+
    display: flex;
+
    flex-direction: column;
    width: 50%;
  }
  .description {
@@ -61,6 +64,10 @@
    max-width: 14rem;
    margin-top: 0.5rem;
  }
+
  .compact .activity {
+
    position: absolute;
+
    bottom: 0;
+
  }
  .project:hover {
    box-shadow: 0 0 0 2px var(--color-border-focus);
  }
@@ -98,6 +105,9 @@
    .project {
      min-width: 0;
    }
+
    .left {
+
      width: 100%;
+
    }
  }
</style>