Skip to content

Commit

Permalink
fix(caption): should always align to the left edge
Browse files Browse the repository at this point in the history
  • Loading branch information
luolonghao committed Oct 31, 2024
1 parent fde5184 commit 211d4a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/css/image.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ lake-box[name="image"] .lake-box-focused .lake-image {
border-color: var(--lake-box-border-focus-color);
}
.lake-image-caption {
-webkit-user-modify: read-write-plaintext-only;
position: relative;
font-size: 14px;
line-height: normal;
text-align: start;
color: var(--lake-secondary-text-color);
padding-top: 2px;
padding-bottom: 8px;
-webkit-user-modify: read-write-plaintext-only;
display: none;
}
.lake-image-caption:focus {
Expand Down

0 comments on commit 211d4a8

Please sign in to comment.