-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mobile Version #1
Comments
noticed that too. would like to see an mobile version. |
Could someone who corrected this error share? |
I've tried, but I haven't found the error in the source code. I've compared it to other theme files but no luck |
@matze19999 @JeanCFF @FuckingToasters @root9191 Quick fix without merge request: The height is necessary otherwise it won't grow automatically when you have long descriptions of the buttons. Works also on smartphones: |
@JulianPrieber I prepared a branch but cannot push the branch to the repository. Can you give me permissions to do so? Then I can create a pull request for review. |
I'm sorry, but there aren't any public forks. Fork the repo, make the changes, open a pull request. |
@JulianPrieber never did before so thank for the hint, is completed. I also linked the issue. |
While this works, it makes the buttons small on desktop as well, i wantedd to keep them on dekstop the same so i've added a media query which handle this. .button {
position: relative;
height: 23px;
background-color: var(--accentColor);
color: var(--textColor);
border: solid var(--accentColor) 2px;
border-radius: 10px;
font-size: 1rem;
text-align: center;
display: block;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
padding: 10px; /* 17px */
text-decoration: none;
height: auto;
/* transition: all .25s cubic-bezier(.08, .59, .29, .99); */
-webkit-tap-highlight-color: transparent;
}
/* Portrait mode */
@media (orientation: portrait) {
.button {
min-width: 250px;
}
}
/* Landscape mode */
@media (orientation: landscape) {
.button {
min-width: 500px;
}
} |
@FuckingToasters great, can you create a pull request for it? Maybe that works for @JulianPrieber |
I haven't been able to test this yet, but this looks promising 👍 |
Sure thing, here you go: #4 |
Love it |
Pushed to the updater system |
Hello,
could you please optimize the Theme for mobile Version too?
If you select the Theme and look on your Smartphone, the Links are not centered and also the Background does not fit
The text was updated successfully, but these errors were encountered: