Skip to content

Commit

Permalink
aggiunto link a commit in versione
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoexe committed Jul 16, 2024
1 parent 119aecb commit 1ea2530
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
24 changes: 23 additions & 1 deletion sostituzioni/view/static/style/updater.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,32 @@ a {
display: flex;
}

#version span {
#version>span {
margin-top: auto;
}

#version a {
position: relative;
color: black;
transition: all 0.2s;
}

#version a::after {
content: '';
position: absolute;
bottom: 0;
right: 0;
width: 0;
height: 2px;
background-color: #c00f19;
transition: width 0.3s;
}

#version a:hover::after {
left: 0;
right: auto;
width: 100%;
}

#description {
flex: 1;
Expand Down
3 changes: 1 addition & 2 deletions sostituzioni/view/templates/updater.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
<body>
<div id="main-container">
<div id="text-container">

<div id="version"><span>Versione: {{version}}</span></div>
<div id="version"><span>Versione: <a href="https://github.com/nkoexe/sostituzioni/commit/{{version}}" target="_blank">{{version}}</a></span></div>
<div id="title-container">
<h1 id="title"></h1>
</div>
Expand Down

0 comments on commit 1ea2530

Please sign in to comment.