Closed lizardoluis closed 8 years ago
Instead of margin-left: -1px
for .d-title
, add this:
.d-icon ~ .d-title {
margin-left: -1px;
}
This will ensure only elements .d-title
that are siblings of .d-icon
will get the margin style.
Alright, change of plans. This should do the trick:
.diagram-container .d-header .d-icon ~ .d-title {
padding-left: 45px;
}
/* remove margin-left: -1 */
.diagram-container .d-header .d-title {
height: 100%;
min-width: 100px;
border: 1px solid black;
font-weight: bold;
padding: 8px 10px 5px 10px;
white-space: nowrap;
}
/* remove display: inline-block, text-align: center and margin-left */
cc @lizardoluis ^
Header on conventional class is also wrong due to -1 on margin.