Skip to content

Commit

Permalink
fixes jumping lines (FreshRSS#4782)
Browse files Browse the repository at this point in the history
* fixes

* fix template

* fix frss.css

* fix Nord theme
  • Loading branch information
math-GH committed Nov 15, 2022
1 parent 1d1b476 commit 72ec920
Show file tree
Hide file tree
Showing 30 changed files with 32 additions and 182 deletions.
4 changes: 2 additions & 2 deletions app/views/helpers/index/normal/entry_header.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<li class="item title<?= (($topline_thumbnail !== 'none') || $topline_summary) ? ' multiline' : '' ?>" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>" class="item-element"><?= $this->entry->title() ?><?php
if ($topline_display_authors):
?><span class="item-element author"><?php
?><span class="author"><?php
$authors = $this->entry->authors();
if (is_array($authors)) {
$first = true;
Expand All @@ -64,7 +64,7 @@
?></span><?php
endif;
if ($topline_summary):
?><div class="item-element summary"><?= trim(mb_substr(strip_tags($this->entry->content()), 0, 500, 'UTF-8')) ?></div><?php
?><div class="summary"><?= trim(mb_substr(strip_tags($this->entry->content()), 0, 500, 'UTF-8')) ?></div><?php
endif;
?></a></li>
<?php if ($topline_date) { ?><li class="item date"><time datetime="<?= $this->entry->machineReadableDate() ?>" class="item-element"><?= $this->entry->date() ?></time>&nbsp;</li><?php } ?>
Expand Down
4 changes: 0 additions & 4 deletions p/themes/Alternative-Dark/adark.css
Original file line number Diff line number Diff line change
Expand Up @@ -801,10 +801,6 @@ kbd {
font-size: 0.9rem;
}

.flux .website .favicon {
padding: 5px;
}

.flux .website a:hover .favicon,
.flux a.website:hover .favicon {
filter: grayscale(50%);
Expand Down
4 changes: 0 additions & 4 deletions p/themes/Alternative-Dark/adark.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -801,10 +801,6 @@ kbd {
font-size: 0.9rem;
}

.flux .website .favicon {
padding: 5px;
}

.flux .website a:hover .favicon,
.flux a.website:hover .favicon {
filter: grayscale(50%);
Expand Down
5 changes: 0 additions & 5 deletions p/themes/Ansum/_list-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

&:not(.current):hover .item.title {
background: variables.$grey-lighter;
bottom: 3px;
}
}

Expand Down Expand Up @@ -70,10 +69,6 @@
color: variables.$main-font-color;
opacity: 0.75;
}

.favicon {
padding: 5px;
}
}

.item.date {
Expand Down
17 changes: 1 addition & 16 deletions p/themes/Ansum/ansum.css

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

17 changes: 1 addition & 16 deletions p/themes/Ansum/ansum.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ form th {
}
.tree .tree-folder {
border-bottom: 1px solid #f0e7da;
box-shadow: inset 1px -11px 8px #0003;
box-shadow: inset 1px -11px 8px rgba(0, 0, 0, 0.2);
}
.tree .tree-folder .tree-folder-title {
padding: 12px 16px;
Expand Down Expand Up @@ -987,7 +987,6 @@ main.prompt {
}
.flux:hover:not(.current):hover .item.title {
background: #fcfaf8;
bottom: 3px;
}
.flux.current {
background: #fff;
Expand Down Expand Up @@ -1022,9 +1021,6 @@ main.prompt {
color: #363330;
opacity: 0.75;
}
.flux .website .favicon {
padding: 5px;
}
.flux .item.date {
color: rgba(54, 51, 48, 0.5);
font-size: 0.85rem;
Expand Down Expand Up @@ -1208,7 +1204,6 @@ main.prompt {
.form-group .group-name {
text-align: right;
}

.aside {
transition: all 0.2s ease-in-out;
}
Expand All @@ -1218,7 +1213,6 @@ main.prompt {
.aside .tree .tree-folder .tree-folder-items .item a {
padding: 0.5rem 1rem;
}

.aside .toggle_aside,
#panel .close,
.dropdown-menu .toggle_aside,
Expand All @@ -1237,7 +1231,6 @@ main.prompt {
#slider .toggle_aside .icon {
filter: grayscale(100%) brightness(2.5);
}

.header {
padding: 0.5rem;
height: 8rem;
Expand All @@ -1262,16 +1255,13 @@ main.prompt {
min-height: 49px;
padding: 0.5rem 2rem;
}

#global {
height: calc(100% - 8rem);
}

.post {
padding-right: 1rem;
padding-left: 1rem;
}

.nav_menu .btn {
margin: 0;
padding: 0.85rem 1.25rem;
Expand All @@ -1297,11 +1287,9 @@ main.prompt {
.nav_menu .search .input:focus {
width: 400px;
}

#stream .flux .flux_header {
padding: 0.5rem 0;
}

.dropdown-target:target ~ .dropdown-toggle::after {
background-color: #fcfaf8;
border-top: 1px solid #f5f0ec;
Expand All @@ -1315,7 +1303,6 @@ main.prompt {
.dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after {
bottom: -17px;
}

.day {
text-align: center;
padding: 1rem 0;
Expand All @@ -1327,11 +1314,9 @@ main.prompt {
line-height: 1.5rem;
margin-bottom: 1rem;
}

#nav_entries {
line-height: 4.5rem;
}

.notification {
border-radius: 0;
}
Expand Down
4 changes: 0 additions & 4 deletions p/themes/BlueLagoon/BlueLagoon.css
Original file line number Diff line number Diff line change
Expand Up @@ -861,10 +861,6 @@ a.btn {
font-size: 0.9rem;
}

.flux .website .favicon {
padding: 5px;
}

.flux .item.date {
color: #666;
font-size: 0.7rem;
Expand Down
4 changes: 0 additions & 4 deletions p/themes/BlueLagoon/BlueLagoon.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -861,10 +861,6 @@ a.btn {
font-size: 0.9rem;
}

.flux .website .favicon {
padding: 5px;
}

.flux .item.date {
color: #666;
font-size: 0.7rem;
Expand Down
4 changes: 0 additions & 4 deletions p/themes/Dark/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -748,10 +748,6 @@ a.btn {
color: #888;
}

.flux .website .favicon {
margin: 5px;
}

.flux .item.date {
color: #666;
font-size: 0.7rem;
Expand Down
4 changes: 0 additions & 4 deletions p/themes/Dark/dark.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -748,10 +748,6 @@ a.btn {
color: #888;
}

.flux .website .favicon {
margin: 5px;
}

.flux .item.date {
color: #666;
font-size: 0.7rem;
Expand Down
4 changes: 0 additions & 4 deletions p/themes/Flat/flat.css
Original file line number Diff line number Diff line change
Expand Up @@ -771,10 +771,6 @@ a.btn {
font-size: 0.9rem;
}

.flux .website .favicon {
padding: 5px;
}

.flux .item.date {
color: #666;
font-size: 0.7rem;
Expand Down
4 changes: 0 additions & 4 deletions p/themes/Flat/flat.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -771,10 +771,6 @@ a.btn {
font-size: 0.9rem;
}

.flux .website .favicon {
padding: 5px;
}

.flux .item.date {
color: #666;
font-size: 0.7rem;
Expand Down
5 changes: 0 additions & 5 deletions p/themes/Mapco/_list-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

&:not(.current):hover .item.title {
background: variables.$grey-lighter;
bottom: 3px;
}
}

Expand Down Expand Up @@ -70,10 +69,6 @@
color: variables.$main-font-color;
opacity: 0.75;
}

.favicon {
padding: 5px;
}
}

.item.date {
Expand Down
Loading

0 comments on commit 72ec920

Please sign in to comment.