Improve positioning of ActivityDiagram on ProjectCard

This commit is contained in:
Sebastian Martinez
2023-12-04 11:59:12 +01:00
parent 5265a6b245
commit d00b8f5a1a
+10
View File
@@ -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>