Skip to content

Commit

Permalink
Fix iOS Safari issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Mar 13, 2023
1 parent fd35eef commit 3b46432
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
### 1.1.9rc3: 2023-03-13
### 1.1.9: 2023-03-13

* Fix blur overlay on iPad
* Fix compose form z-index on mobile
* Add green/red indicator in the follow/unfollow button in notifications
* Add missing stylelint-order package
* Fix iOS Safari issue #1

### 1.1.8: 2023-03-12

Expand Down
46 changes: 24 additions & 22 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Mastodon Bird UI by @[email protected]
1.1.9rc3 */
1.1.9 */

/* CSS variables */
:root {
Expand Down Expand Up @@ -67,6 +67,11 @@
:root {
--font-size-heading: 17px;
}

/* Hide scrollbar on mobile, since we can't pick the handle anyway */
.layout-single-column::-webkit-scrollbar {
display: none;
}
}

body.layout-single-column {
Expand All @@ -76,7 +81,8 @@ body.layout-single-column {
}

.layout-single-column .ui {
width: calc(100% - 4px);
display: flex;
width: 100%;
}

/* Text color */
Expand Down Expand Up @@ -1154,16 +1160,16 @@ a.status-card.compact .status-card__description {

.layout-single-column .notification .account__relationship .icon-button:focus .fa::before,
.layout-single-column .notification .account__relationship .icon-button:hover .fa::before {
opacity: 1;
/* stylelint-disable-next-line */
color: var(--color-red) !important;
opacity: 1;
}

.layout-single-column .notification .account__relationship .icon-button:not(.active):focus .fa::before,
.layout-single-column .notification .account__relationship .icon-button:not(.active):hover .fa::before {
opacity: 1;
/* stylelint-disable-next-line */
color: var(--color-green) !important;
opacity: 1;
}

.layout-single-column .account__relationship .button:hover {
Expand Down Expand Up @@ -2044,22 +2050,22 @@ a.status-card.compact .status-card__description {
z-index: 2;
}

.layout-single-column .app-holder,
.layout-single-column .app-holder > div,
body.app-body.layout-single-column {
overflow-x: hidden;
}

.layout-single-column .tabs-bar__wrapper {
margin-right: 0;
position: sticky;
top: 55px;
z-index: 2;
}

.layout-single-column .columns-area__panels__main {
order: 1;
position: absolute;
width: calc(100% - 4px);
position: unset;
width: 100%;
}

.layout-single-column .columns-area__panels {
flex-direction: column;
justify-content: flex-start;
}

.layout-single-column .columns-area__panels__main::-webkit-scrollbar {
Expand Down Expand Up @@ -2147,11 +2153,16 @@ a.status-card.compact .status-card__description {
}

.layout-single-column .ui__header {
align-items: center;
border-bottom: 0;
box-sizing: border-box;
display: flex;
height: 56px;
position: fixed;
justify-content: space-between;
position: sticky;
top: 0;
width: 100%;
z-index: 2;
}

.layout-single-column .account__header__bar .avatar .account__avatar {
Expand All @@ -2168,10 +2179,6 @@ a.status-card.compact .status-card__description {
height: 157px;
}

.layout-single-column .columns-area.columns-area--mobile {
top: 16px;
}

.layout-single-column .column > .scrollable {
padding-bottom: 55px;
}
Expand All @@ -2190,11 +2197,6 @@ a.status-card.compact .status-card__description {
padding-bottom: calc(3.5rem + calc(var(--gap-default) * 2));
}

.columns-area--mobile .column,
.columns-area--mobile .drawer {
margin-top: var(--gap-default);
}

/* Column items order */
.layout-single-column .navigation-panel .column-link,
.layout-single-column .navigation-panel .list-panel,
Expand Down

0 comments on commit 3b46432

Please sign in to comment.