Skip to content

Commit

Permalink
chore: Update launcher.css and index.js
Browse files Browse the repository at this point in the history
- Adjust width of #landingPlayerLabel.bot_label in launcher.css
- Adjust width of #server_status_wrapper in launcher.css
- Adjust height of .bot_divider in launcher.css
- Adjust width and position of #mojangStatusWrapper in launcher.css
- Adjust width and height of BrowserWindow in index.js
  • Loading branch information
LaeDev committed Jul 9, 2024
1 parent 42975b8 commit a2ec89b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
20 changes: 16 additions & 4 deletions app/assets/css/launcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ body, button {
background-size: cover;
}*/

#landingPlayerLabel.bot_label {
width: 60px !important;
}


/*******************************************************************************
* *
* Frame Styles (frame.ejs) *
Expand Down Expand Up @@ -2546,6 +2551,7 @@ input:checked + .toggleSwitchSlider:before {
display: inline-flex;
line-height: 24px;
left: 50px;
width: 280px;
}
#landingContainer > #lower > #center {
position: relative;
Expand Down Expand Up @@ -2907,7 +2913,7 @@ input:checked + .toggleSwitchSlider:before {
* *
******************************************************************************/

/* Style for a general label on the bottom of the landing view. */
/* Style for a general label on the bottom of the landing view. */
.bot_label {
font-size: 15px;
letter-spacing: 1px;
Expand All @@ -2917,7 +2923,7 @@ input:checked + .toggleSwitchSlider:before {

/* Divider used on the bottom of the landing view. */
.bot_divider {
height: 25px;
height: 50px;
width: 2px;
background: rgba(107, 105, 105, 0.7);
margin-left: 20px;
Expand All @@ -2930,8 +2936,10 @@ input:checked + .toggleSwitchSlider:before {

/* Maintains maximum width on the status bar. */
#server_status_wrapper {
display: inline-flex;
width: 75px;
display: inline-block;
width: 100px;
top: 12px; /* 기존 30px에서 증가 */
position: relative;
}

/* Span which displays the player count of the selected server. */
Expand All @@ -2946,6 +2954,7 @@ input:checked + .toggleSwitchSlider:before {
/* Wrapper container for the mojang status bar. */
#mojangStatusWrapper {
position: relative;
top: 12px;
display: flex;
cursor: pointer;
}
Expand Down Expand Up @@ -3055,6 +3064,7 @@ input:checked + .toggleSwitchSlider:before {
position: relative;
top: 25px;
display: inline-flex;
transform: translateX(-50px);
}

/* The launch button. */
Expand Down Expand Up @@ -3172,6 +3182,8 @@ input:checked + .toggleSwitchSlider:before {
min-width: 53.21px;
max-width: 53.21px;
text-align: right;
top: 10px;
position: relative;
}

/* Right side of launch details container, displays progress bar and details. */
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ let win
function createWindow() {

win = new BrowserWindow({
width: 980,
height: 552,
width: 1300,
height: 625,
icon: getPlatformIcon('SealCircle'),
frame: false,
webPreferences: {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metaverselauncher",
"version": "1.0.1",
"version": "1.0.2",
"productName": "Metaverse Launcher",
"description": "Modded Minecraft Launcher",
"author": "Daniel Scalzi (https://github.com/dscalzi/), Lae_Dev (https://github.com/LaeDev/)",
Expand Down

0 comments on commit a2ec89b

Please sign in to comment.