Skip to content

Commit cf998b0

Browse files
committed
Ensure org chart icons actually square (DP-990)
Signed-off-by: Hidde de Vries <hidde@hiddedevries.nl>
1 parent abd6695 commit cf998b0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/SearchResult.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
.search-result__orgchart-link {
8787
margin-left: auto;
8888
position: relative; /* so that it stacks on top of search result link */
89-
line-height: 1; /* avoid extra space underneath image */
89+
line-height: .75; /* avoid extra space underneath image */
9090
border-radius: var(--imageRadius);
9191
padding: .72em;
9292
color: var(--black);

src/components/TopBar.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export default {
100100
text-decoration: none;
101101
transition: background-color .2s ease-in-out;
102102
border-radius: var(--imageRadius);
103+
line-height: .75; /* to not add vertical whitespace */
103104
}
104105
.top-bar__link img {
105106
vertical-align: middle;

0 commit comments

Comments
 (0)