Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release Notes
=============

Version 0.55.4
--------------

- fix: fix the learning resource card space issue (#2979)

Version 0.55.3 (Released February 24, 2026)
--------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ export function ImageWithCaptionViewer({
src={src}
alt={alt}
layout={layout}
className="uploaded-image"
isLoading={isLoading}
onLoad={() => setIsLoading(false)}
onError={() => {
Expand Down Expand Up @@ -439,6 +440,7 @@ export function ImageWithCaption({
src={src}
alt={alt || ""}
layout={layout}
className="uploaded-image"
ref={imgRef}
onLoad={() => setIsLoading(false)}
onError={() => setIsLoading(false)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

/* stylelint-disable selector-class-pattern, no-descending-specificity */
.tiptap.ProseMirror {
img {
// Only apply to images from the image upload plugin
.uploaded-image {
max-width: 100%;
height: auto;
display: block;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ declare module "@tiptap/core" {

const NodeWrapper = styled(NodeViewWrapper)({
position: "relative",
marginBottom: "20px",
cursor: "pointer",
})

const StyledLearningResourceCard = styled(ResourceCard)(({ theme }) => ({
position: "relative",
marginBottom: "20px",

".ProseMirror-selectednode &": {
borderColor: theme.custom.colors.red,
Expand Down
2 changes: 1 addition & 1 deletion main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from main.settings_pluggy import * # noqa: F403
from openapi.settings_spectacular import open_spectacular_settings

VERSION = "0.55.3"
VERSION = "0.55.4"

log = logging.getLogger()

Expand Down
Loading