Skip to content

Commit 25d3fcb

Browse files
author
xecdev
committed
Fix 'Unlocked Content Indicator' for Mobile View
1 parent 96682e5 commit 25d3fcb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

assets/css/paywall-styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@
66
font-family: inherit;
77
font-weight: 800; /* Strong text */
88
font-size: 1rem;
9+
text-align:center;
910
}
1011

1112
.unlocked-indicator::before,
1213
.unlocked-indicator::after {
1314
content: "";
14-
flex: 1;
15+
flex: 1 1 auto;
16+
min-width: 20px;
1517
height: 1px;
1618
background: currentColor; /* Uses the same color as the text */
1719
}
1820

1921
.unlocked-indicator span {
22+
display: inline-block;
2023
padding: 0 1rem; /* Space between text and lines */
24+
word-break: break-word;
2125
}

0 commit comments

Comments
 (0)