Skip to content

Commit c3b4f30

Browse files
Anthony KinseyAnthony Kinsey
Anthony Kinsey
authored and
Anthony Kinsey
committed
fix: code cleanup for mentions pagination, fix desktop formatting
1 parent 68b4c9e commit c3b4f30

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

src/views/Mentions.vue

+1-31
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,7 @@ export default {
159159
</script>
160160

161161
<style lang="scss">
162-
.mentions {
163-
.pagination-simple {
164-
display: grid;
165-
grid-template-columns: 6rem auto auto;
166-
-moz-column-gap: .5rem;
167-
column-gap: .5rem;
168-
justify-content: end;
169-
}
170-
}
162+
.mentions .pagination-slide .pagination-controls { margin: auto; }
171163
#public-content {
172164
.mentions & {
173165
grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
@@ -345,19 +337,6 @@ export default {
345337
}
346338
}
347339
348-
.pagination-simple {
349-
background-color: $base-background-color;
350-
padding: 1rem 0;
351-
position: sticky;
352-
bottom: 0;
353-
left: 0;
354-
text-align: right;
355-
356-
.user-settings & {
357-
position: relative;
358-
}
359-
}
360-
361340
.caret-right {
362341
height: 12px;
363342
position: relative;
@@ -422,14 +401,5 @@ $columnGap-small: 0.5rem;
422401
}
423402
}
424403
}
425-
426-
.pagination-simple {
427-
position: fixed;
428-
bottom: 0;
429-
left: 0;
430-
text-align: center;
431-
width: 100%;
432-
margin-bottom: 0;
433-
}
434404
}
435405
</style>

0 commit comments

Comments
 (0)