discourse/app/assets/stylesheets/mobile/reviewables.scss
Martin Brennan 8fb2e2a3ec
UX: Fix No button on review queue on mobile (#29485)
The "No" button for flagged posts was a different
size on mobile
2024-10-30 15:37:11 +10:00

111 lines
1.7 KiB
SCSS

.reviewable {
.reviewable-container {
flex-direction: column;
.reviewable-list {
order: 2;
width: 100%;
padding-bottom: 4em;
}
.reviewable-filters {
order: 1;
margin: 0;
padding: 0.5em;
width: 100%;
}
.reviewable-list + .reviewable-filters {
margin: 0 0 0.5em 0;
}
}
.reviewable-scores {
display: flex;
width: 100%;
overflow-x: scroll;
border-top: 1px solid var(--primary-low);
thead {
tr {
display: flex;
flex-direction: column;
border: 0;
}
}
tbody {
display: flex;
border: 0;
.reviewable-score {
display: flex;
flex-direction: column;
}
tr {
border: 0;
}
td {
white-space: nowrap;
}
}
}
}
.reviewable-filters {
background-color: var(--primary-very-low);
padding: 0.5em 1em 1em 1em;
margin-bottom: 1em;
.reviewable-filters-actions {
display: flex;
justify-content: space-between;
}
.reviewable-filter {
.filter-label {
margin: 0;
}
}
}
.reviewable-contents {
.reviewable-post-header,
.post-body {
max-width: 100%;
p {
overflow-x: scroll;
}
}
}
.reviewable-actions {
margin-right: -0.5em;
margin-bottom: 0.5em;
> div,
> button {
margin-right: 0.25em;
}
.btn.reviewable-action {
margin-bottom: 0;
}
.reviewable-action,
.reviewable-action-dropdown .dropdown-select-box-header {
display: flex;
align-items: center;
justify-content: center;
.d-icon {
margin: 0 0.15 0 0;
}
}
}
.reviewable-scores-and-history table {
width: 100%;
}