mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 22:30:41 +08:00
Improve positioning of ActivityDiagram on ProjectCard
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user