Skip to content

Commit

Permalink
cross-browser compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhi-kala committed May 15, 2023
1 parent 5d623ed commit ec7729c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@

<style>
.icon {
display: flex;
align-items: center;
vertical-align: middle;
}
.icon-container {
display: inline-flex;
align-items: center;
vertical-align: middle;
}
svg {
margin: auto;
display: block;
height: 100%;
}
</style>
7 changes: 5 additions & 2 deletions sites/example-project/src/components/viz/Value.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<span class="error">
<span class="error-label">Error</span>
<span class="additional-info-icon">
<HelpCircleIcon height="18" width="18" verticalOffset="2" color="--grey-100" />
<HelpCircleIcon height="18" width="18" verticalOffset="1" color="--grey-100" />
</span>
<span class="error-msg">{error}</span>
</span>
Expand Down Expand Up @@ -117,7 +117,10 @@
}
.additional-info-icon {
display: inline;
display: flex;
align-items: center;
height: 100%;
width: 100%;
vertical-align: middle;
width: 14px;
color: white;
Expand Down

0 comments on commit ec7729c

Please sign in to comment.