Only highlight the title if it's truly editable.

This commit is contained in:
Arpad Csanyi
2016-06-16 00:16:18 +02:00
parent f13643c765
commit ced1c093b9

View File

@@ -119,14 +119,16 @@ ul {
&__name, &__name,
&__abbrev { &__abbrev {
border: none; &[contenteditable=true]{
border-bottom: 2px dotted #999; border: none;
padding: 0 0.5rem; border-bottom: 2px dotted #999;
margin: 0 0.25rem; padding: 0 0.5rem;
margin: 0 0.25rem;
&.active { &.active {
box-shadow: 0 0 0 1px #ccc, 0 0 5px 0 #ccc; box-shadow: 0 0 0 1px #ccc, 0 0 5px 0 #ccc;
border-color: transparent; border-color: transparent;
}
} }
} }
} }