Minor issue: With ‘Center Align’ selected, the card is aligned vertically as expected, but the dimensions of the card and it’s horizontal alignment are also affected.
Center Alignment off:
Center Alignment on:
Another note, when displayed using the preview button from within the card editor, the card is displayed correctly. The display is only screwed up in the reviewer.
I don’t think it’s the style sheet, but I’ve included it just in case:
.card {
font-family: "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
text-align: center;
color: #333333;
background-color: #F6F6F6;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
padding: 24px;
margin: 12px;
border: 1px solid #D9D9D9;
}
#word {
font-size: 30px;
font-weight: bold;
margin-bottom: 16px;
}
.details-summary {
cursor: pointer;
font-size: 16px;
text-shadow: 1px 1px #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.details-summary:hover {
color: #6495ED;
}
.details-summary:hover .arrow {
transform: translateX(4px);
}
.arrow {
fill: #777777;
transition: transform 0.2s ease-in-out;
margin-right: 8px;
}
.image img {
max-width: 100%;
height: 150px;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
margin-top: 8px;
transition: height 0.2s ease-in-out;
}
.image:hover img {
height: auto;
}
.furigana {
font-size: 22px;
font-weight: bold;
line-height: 1.4;
margin-bottom: 16px;
text-shadow: 1px 1px #ffffff;
}
.meaning {
font-size: 18px;
line-height: 1.6;
margin-bottom: 16px;
text-shadow: 1px 1px #ffffff;
}
.cloze {
font-weight: 900
}
#sentence {
font-size: 20px;
line-height: 1.6;
margin-top: 16px;
}
.pitch {
border-top: solid red 2px;
padding-top: 1px;
}
.pitch_end {
border-color: red;
border-right: solid red 2px;
border-top: solid red 2px;
line-height: 1px;
margin-right: 1px;
padding-right: 1px;
padding-top:1px;
}
‘Debug Info’:
AnkiDroid Version = 2.18alpha8 (6fc26947fd31743bc83e68f17ae7fec64bfa8e62)
Backend Version = provider(?) (24.04 429bc9e14cefb597646a0e1beac6ef140f226b6f)
Android Version = 14 (SDK 34)
ProductFlavor = play
Manufacturer = samsung
Model = SM-S901U
Hardware = qcom
Webview User Agent = null
ACRA UUID = bd85dadb-68ae-4510-b361-9019967ff82d
FSRS Enabled = true
Crash Reports Enabled = true