DetailItem: adjust padding and remove hover styles

This commit is contained in:
Justin Edmund 2025-12-01 04:11:22 -08:00
parent ef534164f0
commit a9dcbd18f8

View file

@ -109,26 +109,12 @@
display: flex;
justify-content: space-between;
align-items: center;
padding: spacing.$unit;
padding: spacing.$unit 0;
background: colors.$grey-90;
border-radius: layout.$item-corner;
font-size: typography.$font-regular;
min-height: calc(spacing.$unit * 5);
&:hover:not(.editable):not(.hasChildren) {
background: colors.$grey-80;
}
&.editable:focus-within,
&.hasChildren:focus-within {
background: var(--input-bg-hover);
}
&.editable,
&.hasChildren {
background: var(--input-bg);
}
.label-container {
display: flex;
flex-direction: column;