Skip to content

Commit

Permalink
Merge pull request #106 from Moros1138/105-bug-in-version-4346b0d
Browse files Browse the repository at this point in the history
105 bug in version 4346b0d
  • Loading branch information
Moros1138 authored Jun 19, 2024
2 parents 4346b0d + 664984a commit 799ba4b
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Each batch

It is a summary of changes that would be pertinent to the end user of the PGEtinker website. For a comprehensive history of changes made to the project, please refer to the repository's commit history.

## 2024-06-19
- Fixed [Issue #105](https://github.com/Moros1138/PGEtinker/issues/105)
- Fixed other dialog styles for the portrait layout

## 2024-06-17

- Fixed [Issue #98](https://github.com/Moros1138/PGEtinker/issues/98)
Expand Down
90 changes: 86 additions & 4 deletions resources/css/app/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@

& > .content {
padding: 1rem;

@media screen and (max-width: 750px) {
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 1.5rem;
}
}
}

& > .footer {
Expand All @@ -50,6 +61,7 @@
background: #0D6EFD;
color: #fff;
font-weight: bold;
order: -1;
}

&.ok:hover {
Expand All @@ -68,6 +80,38 @@
color: #fff;
}
}

@media screen and (max-width: 750px) {
display: flex;
flex-direction: column;
button {
display: block;
border-radius: 0.4rem;
padding: 1rem 0;
width: 100%;
margin: 0;
}
}
}
}

@media screen and (max-width: 750px) {
.window {
& > .header {
border-bottom: 1px solid var(--pgetinker-dialog-border-color);
padding: 0.4rem 1rem;
font-weight: bold;
font-size: 1.5rem;
}

& > .footer {
button {
display: block;
margin: .6rem 0;
width: 100%;
padding: 1rem;
}
}
}
}
}
Expand Down Expand Up @@ -123,6 +167,45 @@
padding: 0.4rem 1rem;
}
}

@media screen and (max-width: 750px) {
.input-group {
display: block;
width: 100%;
margin: 0;

label {
display: block;
border-radius: 0.4rem 0.4rem 0rem 0rem;
background: #4d4d4d;
padding: 1rem 0;
text-align: center;
color: #ffffff;
width: 100%;
margin: 0;
border: none;
border-bottom: 2px solid #000;
}

input[type=text] {
display: block;
padding: 1rem 0;
width: 100%;
border: none;
margin: 0;
}

button {
display: block;
border-radius: 0 0 0.4rem 0.4rem;
padding: 1rem 0;
border: none;
border-top: 2px solid #000;
width: 100%;
margin: 0;
}
}
}
}
}

Expand Down Expand Up @@ -162,13 +245,12 @@
text-align: center;
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 2.5rem;
font-size: 1.4rem;
}

h3 {
text-align: center;
font-size: 2rem;
// text-decoration: underline;
font-size: 1.5rem;
padding-bottom: 1rem;
border-bottom: 4px solid var(--pgetinker-dialog-text-color);
}
Expand All @@ -181,7 +263,7 @@

.name {
padding: .5rem 2rem;
font-size: 2.5rem;
font-size: 1.6rem;
}
}
}
Expand Down

0 comments on commit 799ba4b

Please sign in to comment.