Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swap minimal plus sign with svg image to fix alignment problem #542

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,9 @@ function attr($attr, $file) {
<!-- Zoom Controls -->
<div id="zoomControls">
<div id="center-button" class="viewport-action fa fa-crosshairs" title="Center the Sun in the Viewport"></div>
<div id="zoom-in-button" title="Zoom in.">+</div>
<div id="zoom-in-button" title="Zoom in.">
<img src="/resources/images/ftedit-add.svg" style="width:80%; height:80%" alt="HV project transparent image"/>
</div>
<div id="zoomSliderContainer">
<div id="zoomControlSlider"></div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion resources/css/zoom-control.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,13 @@
line-height: 0.66em;
}
#zoomControls #zoom-in-button {
justify-content:center;
align-items:center;
display:flex;
top: 35px;
}


#zoomControls #center-button {
position: relative;
display: inline-block;
Expand Down Expand Up @@ -142,4 +146,4 @@
color: #cb2027;
border-color: #cb2027;
background-color: black;
}*/
}*/
133 changes: 133 additions & 0 deletions resources/images/ftedit-add.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading