Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
readd version-container
Browse files Browse the repository at this point in the history
  • Loading branch information
JovannMC committed Apr 23, 2024
1 parent e32d43a commit 264e1bf
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 20 deletions.
22 changes: 15 additions & 7 deletions src/static/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22545,24 +22545,32 @@ br {
position: relative;
}

.version-container {
display: flex;
justify-content: flex-start;
align-items: center;
margin-left: 8px;
margin-top: 24px;
}

.name-container {
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
align-content: center;
position: relative;
z-index: 1;
}

.logo-container {
position: absolute;
left: 0;
width: 72px;
height: 72px;
display: flex;
justify-content: center;
align-items: center;
width: 72px;
height: 72px;
position: absolute;
left: 0;
}

.logo-container img {
Expand All @@ -22571,11 +22579,11 @@ br {
}

.language-container {
position: absolute;
right: 0;
display: flex;
align-items: center;
justify-content: flex-end;
position: absolute;
right: 0;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion src/static/css/index.css.map

Large diffs are not rendered by default.

24 changes: 15 additions & 9 deletions src/static/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,24 +121,32 @@ br {
position: relative;
}

.version-container {
display: flex;
justify-content: flex-start;
align-items: center;
margin-left: 8px;
margin-top: 24px;
}

.name-container {
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
align-content: center;
position: relative;
z-index: 1;
}

.logo-container {
position: absolute;
left: 0;
width: 72px;
height: 72px;
display: flex;
justify-content: center;
align-items: center;
width: 72px;
height: 72px;
position: absolute;
left: 0;
}

.logo-container img {
Expand All @@ -147,15 +155,13 @@ br {
}

.language-container {
position: absolute;
right: 0;
display: flex;
align-items: center;
justify-content: flex-end;
position: absolute;
right: 0;
}



/*
* Device info
*/
Expand Down
10 changes: 7 additions & 3 deletions src/static/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@
<div class="name-container">
<div class="title-container">
<h1
class="title is-2 has-text-centered is-centered"
id="app-name"
class="title is-1 has-text-centered is-centered"
>
SlimeTora v<span id="version">0.0.0</span>
SlimeTora
</h1>
</div>
</div>
<div class="version-container">
<p class="subtitle">
v<span id="version">0.0.0</span>
</p>
</div>
<!-- Language container -->
<div class="language-container">
<div class="control has-icons-left">
Expand Down

0 comments on commit 264e1bf

Please sign in to comment.