Skip to content

Commit 89d4cd1

Browse files
author
Mike Charles
committed
Align prompt with first line of commands
When a command is longer than the width of the command box, it gets wrapped, but then the prompt is aligned with the center of the multi-line command. Instead it should be top-aligned to it shows up to the left of the first line of the command, like it would in a terminal.
1 parent 1de936a commit 89d4cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/explaingit.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ span.cmd {
168168
padding-left: 15px;
169169
color: #FFF;
170170
line-height: 14px;
171-
background: url(../images/prompt.gif) no-repeat left center black;
171+
background: url(../images/prompt.gif) no-repeat left top black;
172172
}
173173

174174
.control-box input[type="text"] {

0 commit comments

Comments
 (0)