Skip to content

Commit

Permalink
FIX: Fix mobile issues (discourse#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanvidrine authored Aug 30, 2023
1 parent cc606b5 commit 70ab413
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
4 changes: 4 additions & 0 deletions common/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@
}
}

.discourse-tags {
gap: 0.5em;
}

.discourse-tag {
font-size: $font-down-1;
border-radius: 0.25em;
Expand Down
32 changes: 31 additions & 1 deletion mobile/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ ol.category-breadcrumb {

.topic-list .topic-list-data {
padding: 1em 1em 0 1em;
width: calc(100% - 2em);
max-width: unset;
}

Expand Down Expand Up @@ -146,3 +145,34 @@ ol.category-breadcrumb {
border: 1px solid rgba(var(--primary-rgb), 0.1);
margin-bottom: 1em;
}

.topic-list .topic-item-stats {
flex-wrap: wrap;
}

.topic-list-item .discourse-tags {
order: 3;
width: 100%;
margin-top: 0.5em;
}

.full-width .contents .topic-list .topic-list-item .posts-map {
padding: 0;
.number {
margin: 0;
}
}

.full-width
.contents
.topic-list
.topic-list-body
.topic-list-item
.topic-list-data.posts {
width: unset;
}

.topic-list .topic-list-header .topic-list-data,
.topic-list .topic-list-item .topic-list-data {
padding: 15px;
}

0 comments on commit 70ab413

Please sign in to comment.