Skip to content

Commit

Permalink
style(popup): refactored popup style.
Browse files Browse the repository at this point in the history
  • Loading branch information
cangzhang committed Apr 22, 2020
1 parent 0426a4c commit 91d1e8d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const createPopupWindow = async () => {
show: false,
frame: false,
// transparent: true,
width: isDev ? 900 : 460,
width: isDev ? 900 : 450,
height: 600,
x: isDev ? curDisplay.bounds.width / 2 : curDisplay.bounds.width - 500 - 140,
y: curDisplay.bounds.height / 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "champ-r",
"version": "0.9.5",
"version": "0.9.6",
"license": "MIT",
"description": "Get champion items for lol, Windows only.",
"productName": "ChampR",
Expand Down
5 changes: 3 additions & 2 deletions src/components/perk-showcase/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@

&:hover {
background-color: #f6f6f6;
cursor: pointer;
}

.desc {
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
padding-left: 2em;
padding-left: 1em;

> div {
display: flex;
Expand Down Expand Up @@ -83,7 +84,7 @@
background-repeat: no-repeat;

&.big {
margin: 0 1ex;
margin: 0 0.6ex;
background-color: #000000;
}

Expand Down
1 change: 1 addition & 0 deletions src/modules/popup/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ body {
overflow-y: hidden;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
margin: unset;
}

.list {
Expand Down

0 comments on commit 91d1e8d

Please sign in to comment.