border icon

This commit is contained in:
Данил 2022-09-21 10:46:02 +03:00
parent e62165dd51
commit 9ec7a9f14a
4 changed files with 5 additions and 3 deletions

View file

@ -9,7 +9,7 @@ import (
)
func Tray() {
systray.SetIcon(GetIcon("web/static/image/icons/everynasa.ico"))
systray.SetIcon(GetIcon("web/static/image/icons/icon.ico"))
systray.SetTitle("EveryNasa")
systray.SetTooltip("EveryNasa")
ui := systray.AddMenuItem("Open UI", "Open UI")

View file

@ -35,7 +35,9 @@
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="WallpaperModale"></h5>
<h5 class="modal-title" id="WallpaperModale">
<span class="d-inline-block text-truncate w-modal-title" style="max-width: 420px;"></span>
</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body"></div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

View file

@ -47,7 +47,7 @@ function Wallpaper(data) {
if (event.target.tagName === "IMG") {
let id = event.target.getAttribute("idi")
let img = document.querySelector(".modal-body")
let title = document.querySelector(".modal-title")
let title = document.querySelector(".w-modal-title")
let button = document.querySelector(".modal-footer")
button.innerHTML = `