Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,7 @@ st.markdown("""
|
|
43 |
display: flex;
|
44 |
align-items: center;
|
45 |
justify-content: center;
|
46 |
-
flex-shrink: 0; /* Prevent shrinking */
|
47 |
-
}
|
48 |
.flashcard-inner {
|
49 |
position: relative;
|
50 |
width: 100%;
|
@@ -52,7 +51,7 @@ st.markdown("""
|
|
52 |
transition: transform 0.6s;
|
53 |
transform-style: preserve-3d;
|
54 |
}
|
55 |
-
.flashcard:
|
56 |
transform: rotateY(180deg);
|
57 |
}
|
58 |
.flashcard-front, .flashcard-back {
|
|
|
43 |
display: flex;
|
44 |
align-items: center;
|
45 |
justify-content: center;
|
46 |
+
flex-shrink: 0; /* Prevent shrinking */}
|
|
|
47 |
.flashcard-inner {
|
48 |
position: relative;
|
49 |
width: 100%;
|
|
|
51 |
transition: transform 0.6s;
|
52 |
transform-style: preserve-3d;
|
53 |
}
|
54 |
+
.flashcard:click .flashcard-inner {
|
55 |
transform: rotateY(180deg);
|
56 |
}
|
57 |
.flashcard-front, .flashcard-back {
|