Merge pull request 'Improve post on mobile' (#25) from bopol/teddit:mobile into main

Reviewed-on: https://codeberg.org/teddit/teddit/pulls/25
This commit is contained in:
teddit 2020-12-03 16:02:55 +01:00
commit b90cb38550
1 changed files with 9 additions and 4 deletions

13
dist/css/styles.css vendored
View File

@ -799,12 +799,10 @@ input[type="submit"]:hover,
border: 1px solid #369; border: 1px solid #369;
border-radius: 7px; border-radius: 7px;
padding: 5px 10px; padding: 5px 10px;
margin-top: 10px; margin: 10px auto 5px 60px;
margin-bottom: 5px;
font-size: 0.84rem; font-size: 0.84rem;
max-width: 60em; max-width: 60em;
word-wrap: break-word; word-wrap: break-word;
margin-left: 60px;
float: left; float: left;
width: 100%; width: 100%;
} }
@ -1366,6 +1364,13 @@ code {
} }
.comment summary::-webkit-details-marker { .comment summary::-webkit-details-marker {
font-size: 1.25rem font-size: 1.25rem
} }
#post .usertext-body {
margin-left: 2.5%;
}
#post .image {
padding-left: 2.5%;
padding-right: 2.5%;
}
} }