Skip to content

Commit

Permalink
fix: readonly field label (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav authored Oct 27, 2023
1 parent 5c207b8 commit b002d9b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/unfold/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@ def label_tag(self) -> SafeText:
"class": " ".join(LABEL_CLASSES + ["mb-2"]),
}

if not self.is_first:
attrs["class"] = "inline"

label = self.field["label"]

return format_html(
Expand Down

0 comments on commit b002d9b

Please sign in to comment.