Skip to content

Commit

Permalink
Merge pull request #85 from altendorfme/main
Browse files Browse the repository at this point in the history
Ajuste para quebra de linha do link [sem paywall]
  • Loading branch information
Gabriel Nunes authored Sep 15, 2023
2 parents ed669e4 + 23ca119 commit e865779
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions orbita.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Órbita
* Plugin URI: https://gnun.es
* Description: Órbita é o plugin para criar um sistema Hacker News-like para o Manual do Usuário
* Version: 1.7
* Version: 1.7.1
* Author: Gabriel Nunes
* Author URI: https://gnun.es
* License: GPL v3
Expand Down Expand Up @@ -40,7 +40,7 @@
/**
* Define plugin version constant
*/
define( 'ORBITA_VERSION', '1.7' );
define( 'ORBITA_VERSION', '1.7.1' );

/**
* Enqueue style file
Expand Down Expand Up @@ -580,7 +580,7 @@ function orbita_paywall( $url ) {

foreach ( $publishers as $publisher ) {
if ( preg_match("~" . preg_quote( $publisher['url'], "~" ) . "~i", $url ) ) {
$html = '<span class="paywall">[ <a href="' . $publisher['paywall'] . $url . '">sem paywall</a> ]</span>';
$html = '<span class="paywall">[<a href="' . $publisher['paywall'] . $url . '">sem paywall</a>]</span>';
}
}

Expand Down
1 change: 1 addition & 0 deletions public/main.css

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

2 changes: 1 addition & 1 deletion public/main.css.map

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

1 change: 1 addition & 0 deletions src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ $desktop: "only screen and (min-width : 700px)";
font-size: 85%;
color: #a6a6a6;
margin-right: 6px;
display: inline-block;
}
.domain {
font-size: 90%;
Expand Down

0 comments on commit e865779

Please sign in to comment.