Explorar o código

fix: jumping lines (#4699)

* fix

* fix Origine compact

* fix Ansum

* fix Mapco

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
maTh %!s(int64=3) %!d(string=hai) anos
pai
achega
36e7b694b3

+ 1 - 2
p/themes/Ansum/_list-view.scss

@@ -16,8 +16,7 @@
 
 		&:not(.current):hover .item.title {
 			background: variables.$grey-lighter;
-
-
+			bottom: 3px;
 		}
 	}
 

+ 4 - 1
p/themes/Ansum/ansum.css

@@ -987,6 +987,7 @@ main.prompt {
 }
 .flux:hover:not(.current):hover .item.title {
 	background: #fcfaf8;
+	bottom: 3px;
 }
 .flux.current {
 	background: #fff;
@@ -1364,4 +1365,6 @@ body.register {
 a, button.as-link {
 	outline: none;
 	color: #ca7227;
-}
+}
+
+/*# sourceMappingURL=ansum.css.map */

+ 2 - 1
p/themes/Ansum/ansum.rtl.css

@@ -987,6 +987,7 @@ main.prompt {
 }
 .flux:hover:not(.current):hover .item.title {
 	background: #fcfaf8;
+	bottom: 3px;
 }
 .flux.current {
 	background: #fff;
@@ -1364,4 +1365,4 @@ body.register {
 a, button.as-link {
 	outline: none;
 	color: #ca7227;
-}
+}

+ 1 - 2
p/themes/Mapco/_list-view.scss

@@ -15,8 +15,7 @@
 
 		&:not(.current):hover .item.title {
 			background: variables.$grey-lighter;
-
-
+			bottom: 3px;
 		}
 	}
 

+ 1 - 0
p/themes/Mapco/mapco.css

@@ -1005,6 +1005,7 @@ main.prompt {
 }
 .flux:hover:not(.current):hover .item.title {
 	background: #f9fafb;
+	bottom: 3px;
 }
 .flux.current {
 	background: #f9fafb;

+ 1 - 0
p/themes/Mapco/mapco.rtl.css

@@ -1005,6 +1005,7 @@ main.prompt {
 }
 .flux:hover:not(.current):hover .item.title {
 	background: #f9fafb;
+	bottom: 3px;
 }
 .flux.current {
 	background: #f9fafb;

+ 1 - 1
p/themes/Origine-compact/origine-compact.css

@@ -164,7 +164,7 @@ a.btn,
 }
 
 .flux:not(.current):hover .item.title {
-	top: auto;
+	bottom: 0;
 }
 
 /*=== Content of feed articles */

+ 1 - 1
p/themes/Origine-compact/origine-compact.rtl.css

@@ -164,7 +164,7 @@ a.btn,
 }
 
 .flux:not(.current):hover .item.title {
-	top: auto;
+	bottom: 0;
 }
 
 /*=== Content of feed articles */

+ 1 - 5
p/themes/base-theme/frss.css

@@ -1113,10 +1113,6 @@ input[type="search"] {
 /*=== Feed article header and footer */
 .flux_header {
 	background: inherit;
-	position: static;
-}
-
-.flux:hover {
 	position: relative;
 }
 
@@ -1150,7 +1146,7 @@ a.website:hover .favicon {
 	background-color: var(--frss-background-color);
 	max-width: calc(100% - 320px);
 	position: absolute;
-	top: 0.25rem
+	bottom: 2px;
 }
 
 .flux:not(.current):hover .item.title.multiline {

+ 1 - 5
p/themes/base-theme/frss.rtl.css

@@ -1113,10 +1113,6 @@ input[type="search"] {
 /*=== Feed article header and footer */
 .flux_header {
 	background: inherit;
-	position: static;
-}
-
-.flux:hover {
 	position: relative;
 }
 
@@ -1150,7 +1146,7 @@ a.website:hover .favicon {
 	background-color: var(--frss-background-color);
 	max-width: calc(100% - 320px);
 	position: absolute;
-	top: 0.25rem
+	bottom: 2px;
 }
 
 .flux:not(.current):hover .item.title.multiline {