dsifford / academic-bloggers-toolkit

WordPress plugin providing an all-in-one solution for effective academic blogging.
https://wordpress.org/plugins/academic-bloggers-toolkit/
GNU General Public License v3.0
120 stars 38 forks source link

Problems with displaying references within text #569

Closed fmge closed 5 years ago

fmge commented 5 years ago

ABT Version: 5.1.0 PHP Version: 7.3.6 Theme: Divi

Plugin List: GDPR Cookie Consent Banner Google Analytics for WordPress by MonsterInsights Google Analytics Opt-Out InfiniteWP - Client iThemes Security Jetpack by WordPress.com UpdraftPlus WP Rocket Yoast SEO

Browser: Google Chrome (Version: 75.0.3770.80), Firefox (Version: 67.0.1)

Expected behavior: Displaying references in a proper way.

Actual behavior: Inserted references produce space between the lines: 01

This is also the case for the tooltip: 02

You can find the problem here: https://mgfillinger.com/perceptual-balance-and-aesthetic-preference/

Thanks for your support and this awesome plugin!

Console messages: commons.js:8 Channel: Error in handleResponse UNK/UNK tabClipper initCompleted _handleResponsePromise @ commons.js:8 commons.js:8 Channel: Error in handleResponse UNK/UNK tabClipper getCurrentTheme _handleResponsePromise @ commons.js:8 2commons.js:8 Uncaught (in promise) Error: {} at Function.fromAny (commons.js:8) at T._handleResponsePromise (commons.js:8) at T._handleDispatchResponse (commons.js:8) at T._handleMessage (commons.js:8) at _listener (commons.js:8)

dsifford commented 5 years ago

I visited that page and can't reproduce what you're seeing. Were you able to fix?

fmge commented 5 years ago

It still creates this space between lines. However, I think it is evoked by a conflict with the image. After I moved the image to the block below, this empty rectangle appeared there.

dsifford commented 5 years ago

Aha, I see. So is it safe to close this issue?

fmge commented 5 years ago

Sure, as long as there is no other solution on a technical level!

Derek Sifford notifications@github.com schrieb am Mo., 10. Juni 2019, 20:28:

Aha, I see. So is it safe to close this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dsifford/academic-bloggers-toolkit/issues/569?email_source=notifications&email_token=AMJ7PNFETJAURD44PBYCDXLPZ2MLPA5CNFSM4HWT3GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKZH6A#issuecomment-500536312, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJ7PNHQ44SODAGKZX3T53DPZ2MLPANCNFSM4HWT3GNA .

fmge commented 5 years ago

I wanted to let you know that the plugin has still problems to display more than one citations in APA style in a proper way. As you can see on the image, the line break does not work correctly. Do you think it is possible to fix this issue in the future? Thanks! Screenshot

dsifford commented 5 years ago

Do you have a link to an affected page that I can take a look at?

fmge commented 5 years ago

Sure, but you'll have to take a look at it on a smaller screen, e.g., a smartphone. Whenever the screen width is smaller than the citation, the mentioned problem occurs with the line break: https://mgfillinger.com/perceptual-balance-and-aesthetic-preference/

dsifford commented 5 years ago

A solution for you for the time being would be to just add this to your site's CSS...

.abt-citation {
  display: inline;
}

I'll look into getting this patched into the plugin soon.

fmge commented 5 years ago

Thanks, with this code it works!