Skip to content

Commit d6908d2

Browse files
committed
Modernise this
1 parent 6171736 commit d6908d2

3 files changed

Lines changed: 3 additions & 25 deletions

File tree

src/scss/modules/_base.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ header,
5252
footer,
5353
nav ul,
5454
nav ol,
55-
.container,
56-
.paginator {
55+
.container {
5756
&::after {
5857
content: "";
5958
display: table;

src/scss/modules/_internationalization.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -161,20 +161,6 @@ bdo[dir="rtl"] {
161161
}
162162
}
163163

164-
/**
165-
* Swap paginator (prev/next) navigation links on articles/article lists.
166-
*/
167-
168-
[dir="rtl"] .paginator {
169-
[rel="prev"] {
170-
float: right;
171-
}
172-
173-
[rel="next"] {
174-
float: left;
175-
}
176-
}
177-
178164
/**
179165
* Swap ‘skip links’ position in RTL languages.
180166
*/

src/scss/modules/_links.scss

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,8 @@ h6 {
6868
*/
6969

7070
.paginator {
71-
clear: both;
72-
73-
[rel="prev"] {
74-
float: left;
75-
}
76-
77-
[rel="next"] {
78-
float: right;
79-
}
71+
display: flex;
72+
justify-content: space-between;
8073
}
8174

8275
/**

0 commit comments

Comments
 (0)