Skip to content

Commit 32e5fa6

Browse files
authored
fix: Adjust styling when title is truncated (#1382)
1 parent cee8888 commit 32e5fa6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/course-outline/card-header/CardHeader.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.item-card-header__title-btn {
66
justify-content: flex-start;
77
padding: 0;
8-
width: fit-content;
8+
flex: 1 1 0%;
99
height: 1.5rem;
1010
margin-right: .25rem;
1111
background: transparent;
@@ -15,6 +15,7 @@
1515
.item-card-edit-icon {
1616
opacity: 0;
1717
transition: opacity .3s linear;
18+
margin-right: .5rem;
1819

1920
&:focus {
2021
opacity: 1;

0 commit comments

Comments
 (0)