Fix the expanded data being off by one pixel

When there are rows of expanded data, if that row itself has an
expansion button, then there would be a 1 pixel difference between it
and the parent row spacing.
This commit is contained in:
Daniel Compton 2017-10-27 14:38:10 +13:00
parent 33f9e0966b
commit 4fd95bd576
2 changed files with 6 additions and 0 deletions

View File

@ -452,6 +452,7 @@
#--re-frame-trace-- .re-frame-trace--object .toggle { #--re-frame-trace-- .re-frame-trace--object .toggle {
color: #8f8f8f; color: #8f8f8f;
cursor: pointer; cursor: pointer;
line-height: 1;
} }
#--re-frame-trace-- .re-frame-trace--object > span { #--re-frame-trace-- .re-frame-trace--object > span {
vertical-align: text-top; vertical-align: text-top;
@ -459,4 +460,6 @@
#--re-frame-trace-- .expansion-button { #--re-frame-trace-- .expansion-button {
font-family: sans-serif; font-family: sans-serif;
width: 16px; width: 16px;
padding: 0 2px;
vertical-align: middle;
} }

View File

@ -546,6 +546,7 @@
.toggle { .toggle {
color: @text-color-muted; color: @text-color-muted;
cursor: pointer; cursor: pointer;
line-height: 1;
} }
& > span { & > span {
vertical-align: text-top; vertical-align: text-top;
@ -556,5 +557,7 @@
.expansion-button { .expansion-button {
font-family: sans-serif; font-family: sans-serif;
width: 16px; width: 16px;
padding: 0 2px;
vertical-align: middle;
} }
} }