![]() |
#1 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2015
Device: tablet
|
Space in Comments
Hi, please can someone tell me how to reduce the space between rows in the "comments" field in "edit metadata individually"?
Thank you very much, Gianni |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,276
Karma: 19574690
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
rows of what? text or buttons?
|
![]() |
![]() |
![]() |
#3 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,260
Karma: 111597955
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I modified the Preferences => Look & feel => Book details => Text styling by adding a p (paragraph entry) after the body entry.
Code:
p { margin-top: 0px; margin-bottom: 5px; padding: 0px; } |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2015
Device: tablet
|
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42,276
Karma: 19574690
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot control the rendering of text in the comments editor control. You can control how it is displayed in the book details panel, as described by DNSB
|
![]() |
![]() |
![]() |
#6 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2015
Device: tablet
|
Hello David,
I made the correction you recommend but besides continuing to keep the same space between the lines, the bold characters no longer work, do you have any advice? thank you very much, bye, Gianni |
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,260
Karma: 111597955
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The only thing that I can think of is that you made the changes in the wrong place or entered the wrong code. The code I supplied would only change the paragraph spacing and definitely would not affect bolding text.
You might also want to hit the Restore defaults buttons before trying again. |
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2015
Device: tablet
|
Hi David,
thanks for your reply. This is the result after doing a reset and entering the code as in your example. I don't understand why, but as you can see nothing has changed.... Thank you again for your kindness. Gianni |
![]() |
![]() |
![]() |
#9 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,260
Karma: 111597955
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My example was reducing the space between paragraphs while your example is trying to reduce the space between lines in a paragraph. You could try adding a line-height as in the code block below (and yes, I ended up using 0.9 to reduce the line height (see the attached images for the effect of adding the line-height). I also tried 0.75 but that made the text a bit tight for my preferences.
Code:
p { margin-top: 0px; margin-bottom: 5px; padding: 0px; line-height: 0.9; } Last edited by DNSB; 02-03-2023 at 06:21 PM. |
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2015
Device: tablet
|
Hi David,
now it work fine!!! May be you can also help me with the problem that I am no longer able to put bold characters in comments? Many thanks! bye, Gianni |
![]() |
![]() |
![]() |
#11 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,260
Karma: 111597955
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
<p style="line-height: 90%">Colleague or Killer?</p> Code:
<p style="line-height: 90%; font-weight: bold">Colleague or Killer?</p> |
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Nov 2015
Device: tablet
|
Hi David,
your last advice didn't work, but now I can define bold fonts simply after resetting all Preferences => Look & feel => Book details windows. Thank you very much for your patience and time. Bye, Gianni |
![]() |
![]() |
![]() |
#13 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,260
Karma: 111597955
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Good to hear that you have your issues solved.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove space between paragraphs in the field "Comments" | AstroCalibre | Library Management | 5 | 12-09-2019 03:31 PM |
Free (Kindle) Space Probe by Alan David [Sci-Fi Business vs Pirates Space Opera] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 11-17-2017 04:47 AM |
Free (Kindle) Space Trap by Juanita Coulson [Vintage SF Alien Contact Space Opera] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 13 | 09-21-2017 12:44 PM |
Space Captain Smith of the British Space Empire | Kacetwo | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 07-02-2012 03:41 AM |