Skip to content

Commit a6a276e

Browse files
authored
Enhance bottom actions layout with improved spacing and hover effects (#2022)
1 parent 04ed68f commit a6a276e

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

assets/css/content/bottom-actions.css

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
display: flex;
33
justify-content: space-between;
44
margin-top: 4em;
5+
gap: 12px;
6+
}
7+
8+
.bottom-actions-item {
9+
flex: 1 1 0%;
510
}
611

712
.content-inner .bottom-actions .bottom-actions-button {
@@ -10,26 +15,29 @@
1015
flex-direction: column;
1116
border-radius: var(--borderRadius);
1217
border: 1px solid var(--bottomActionsBtnBorder);
13-
padding: 8px 16px;
18+
padding: 12px 16px;
1419
min-width: 150px;
1520
}
1621

22+
.content-inner .bottom-actions .bottom-actions-button:hover {
23+
border-color: var(--mainLight);
24+
}
1725
.content-inner .bottom-actions .bottom-actions-button .subheader {
1826
font-size: .8em;
1927
color: var(--bottomActionsBtnSubheader);
2028
white-space: nowrap;
2129
}
2230

23-
.content-inner .bottom-actions .bottom-actions-button[rel="prev"] .subheader {
24-
text-align: right;
31+
.content-inner .bottom-actions .bottom-actions-button[rel="prev"] {
32+
text-align: start;
33+
}
34+
35+
.content-inner .bottom-actions .bottom-actions-button[rel="next"] {
36+
text-align: end;
2537
}
2638

2739
@media screen and (max-width: 768px) {
2840
.content-inner .bottom-actions {
2941
flex-direction: column-reverse;
3042
}
31-
32-
.content-inner .bottom-actions .bottom-actions-item:not(:first-child) {
33-
margin-bottom: 16px;
34-
}
3543
}

0 commit comments

Comments
 (0)