Skip to content

Commit

Permalink
Merge pull request #19 from szepeviktor/ec
Browse files Browse the repository at this point in the history
use lf line-endings
  • Loading branch information
maxrice authored Mar 27, 2024
2 parents 606dfab + cb3c633 commit c55656d
Show file tree
Hide file tree
Showing 8 changed files with 606 additions and 584 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# https://EditorConfig.org

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120

eclint_block_comment_start = /*
eclint_block_comment = *
eclint_block_comment_end = */

[*.{php,js}]
indent_style = tab

[*.{yml,yaml}]
indent_size = 2
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ bin
vendor-bin
docs
.phpdoc
dist
dist
2 changes: 1 addition & 1 deletion .scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

$config = get_lib_scoper_config( 'Barn2\\Plugin\\Better_Recent_Comments\\Dependencies' );

return $config;
return $config;
106 changes: 53 additions & 53 deletions assets/css/better-recent-comments.css
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@

.recent-comments-list {
list-style-type: none;
padding-left: 0;
margin-left: 0;
}
.recent-comments-list > li {
margin-bottom: 0.7em;
display: block;
}
.recent-comments-list .comment-date {
font-size: 0.85em;
opacity: 0.7;
}
.recent-comments-list .comment-date a {
text-decoration: none;
border-bottom: none;
}
.widget_recent_comments .recent-comments-list .comment-date {
margin-top: 2px;
}
.recent-comments-list .comment-excerpt + .comment-date, .recent-comments-list .comment-post + .comment-date {
display: block;
margin-bottom: 1px;
}
.recent-comments-list.with-avatars .comment-wrap {
position: relative;
}
.recent-comments-list.with-avatars .comment-avatar {
position: absolute;
left: 0;
top: 4px;
}
.recent-comments-list.with-avatars, .recent-comments-list.with-avatars .recent-comment {
list-style: none;
padding-left: 0;
margin-left: 0;
}
/* Some themes style lists with custom bullets using the ::before selector, so we account for that here */
.recent-comment::before {
position: relative;
vertical-align: top;
display: inline-block;
}
.recent-comment .comment-wrap {
display: inline-block;
}
.recent-comments-list.with-avatars .recent-comment::before {
content: '' !important;
text-indent: 0;
padding: 0;
margin: 0;
}

.recent-comments-list {
list-style-type: none;
padding-left: 0;
margin-left: 0;
}
.recent-comments-list > li {
margin-bottom: 0.7em;
display: block;
}
.recent-comments-list .comment-date {
font-size: 0.85em;
opacity: 0.7;
}
.recent-comments-list .comment-date a {
text-decoration: none;
border-bottom: none;
}
.widget_recent_comments .recent-comments-list .comment-date {
margin-top: 2px;
}
.recent-comments-list .comment-excerpt + .comment-date, .recent-comments-list .comment-post + .comment-date {
display: block;
margin-bottom: 1px;
}
.recent-comments-list.with-avatars .comment-wrap {
position: relative;
}
.recent-comments-list.with-avatars .comment-avatar {
position: absolute;
left: 0;
top: 4px;
}
.recent-comments-list.with-avatars, .recent-comments-list.with-avatars .recent-comment {
list-style: none;
padding-left: 0;
margin-left: 0;
}
/* Some themes style lists with custom bullets using the ::before selector, so we account for that here */
.recent-comment::before {
position: relative;
vertical-align: top;
display: inline-block;
}
.recent-comment .comment-wrap {
display: inline-block;
}
.recent-comments-list.with-avatars .recent-comment::before {
content: '' !important;
text-indent: 0;
padding: 0;
margin: 0;
}
2 changes: 1 addition & 1 deletion assets/css/better-recent-comments.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c55656d

Please sign in to comment.