Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit bfef93d

Browse files
committed
Minor personal preference tweaks
1 parent c9905c7 commit bfef93d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ animationOnKeyInput | bool | `false` | | Disable animation on
9898
animationDuration | number | `300` | | Animation duration (ms)
9999
keyRepeatLimit | number | `180` | | Required interval of time (ms) between key actions (prevents excessively fast navigation of images)
100100
keyRepeatKeyupBonus | number | `40` | | Amount of time (ms) restored after each keyup (makes rapid key presses slightly faster than holding down the key to navigate images)
101-
imageTitle | node | | | Image title
102-
imageCaption | node | | | Image caption - a small piece of text that describes the image
101+
imageTitle | node | | | Image title (Descriptive element above image)
102+
imageCaption | node | | | Image caption (Descriptive element below image)
103103
toolbarButtons | node[] | | | Array of custom toolbar buttons
104104
reactModalStyle | Object | `{}` | | Set z-index style, etc., for the parent react-modal (format: https://github.com/reactjs/react-modal#styles )
105105
imagePadding | number | `10` | | Padding (px) between the edge of the window and the lightbox

src/style.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ $maxCaptionHeight: 150px;
109109
bottom: 0;
110110
max-height: $maxCaptionHeight;
111111
overflow: auto;
112+
}
112113

113-
.captionContent {
114-
padding: 10px 20px;
115-
color: #FFF;
116-
}
114+
.captionContent {
115+
padding: 10px 20px;
116+
color: #FFF;
117117
}
118118

119119
.toolbar {

0 commit comments

Comments
 (0)