Show an icon if a task has non-empty description (Kanban view and List view) #360
|
@ -125,11 +125,13 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
|
|||
display: flex;
|
||||
align-items: flex-end;
|
||||
|
||||
.icon {
|
||||
width: 25px;
|
||||
height: 24px;
|
||||
padding: 0px .4rem;
|
||||
&:not(:first-child) {
|
||||
margin-left: 4px;
|
||||
}
|
||||
svg {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue
Where's that number coming from? And why is it 25px width but only 25px heigh?
It's from the existing paperclip icon, it had exactly those dimensions. I copied it so it would match the exact size.
I see, thanks for the explanation. The height does not seem to make a difference, the rest is derived from the font size. The width only has an effect on the padding so I think it should have padding to make that clear. Could you add something like
padding: 0 .25rem;
and remove thewidth
andheight
?Okay, it's changed to padding now