View Single Post
Old 01-03-2019, 03:54 PM   #144
JeanPierre
Zealot
JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.JeanPierre ought to be getting tired of karma fortunes by now.
 
Posts: 137
Karma: 398492
Join Date: Apr 2018
Device: Kobo Aura One
Hi geek1011,

Happy new year to you, and thank you for the new patches I am making extensive use of your patches and really appreciate them. Discovering them was like having a free upgrade for my device

I played around with the synopsis line spacing and font size patches, and have tuned those to my preference now. With the "Increase the view details container size" patch though, some lines were still obscured by the pagination controls, but I felt inspired to play around with the code. Through trial and error, I have settled on patch code for my Aura ONE which makes the view details page look good to me. I've pasted it below in case someone else might find it useful at all.

Code:
Increase the view details container size:
  - Enabled: yes
  - Description: See https://www.mobileread.com/forums/showpost.php?p=3311354&postcount=134
  - FindZlib: "#bookInfoWidget"
  - ReplaceZlib:
      Offset: 0
      Find:    "#bookInfoWidget[isLandscape=false][qApp_deviceIsTrilogy=true] {\n  max-height: 300px;\n  min-height: 300px;\n}\n#bookInfoWidget[isLandscape=false][qApp_deviceIsPhoenix=true] {\n  max-height: 390px;\n  min-height: 390px;\n}\n#bookInfoWidget[isLandscape=false][qApp_deviceIsDragon=true] {\n  max-height: 550px;\n  min-height: 550px;\n}\n#bookInfoWidget[isLandscape=false][qApp_deviceIsDaylight=true] {\n  max-height: 715px;\n  min-height: 715px;\n}"
      Replace: "#bookInfoWidget[isLandscape=false][qApp_deviceIsTrilogy=true] {\n  max-height: 200px;\n  min-height: 200px;\n}\n#bookInfoWidget[isLandscape=false][qApp_deviceIsPhoenix=true] {\n  max-height: 230px;\n  min-height: 230px;\n}\n#bookInfoWidget[isLandscape=false][qApp_deviceIsDragon=true] {\n  max-height: 400px;\n  min-height: 400px;\n}\n#bookInfoWidget[isLandscape=false][qApp_deviceIsDaylight=true] {\n  max-height: 450px;\n  min-height: 450px;\n}"
  # - ReplaceZlib:
  #     Offset: 0
  #     Find:    "#bookInfoWidget[isLandscape=true][qApp_deviceIsTrilogy=true] {\n  max-height: 210px;\n  min-height: 210px;\n}\n#bookInfoWidget[isLandscape=true][qApp_deviceIsPhoenix=true] {\n  max-height: 265px;\n  min-height: 265px;\n}\n#bookInfoWidget[isLandscape=true][qApp_deviceIsDragon=true] {\n  max-height: 420px;\n  min-height: 420px;\n}\n#bookInfoWidget[isLandscape=true][qApp_deviceIsDaylight=true] {\n  max-height: 540px;\n  min-height: 540px;\n}"
  #     Replace: "#details[qApp_deviceIsTrilogy=true] {\n  max-height: 390px;\n  min-height: 390px;\n}\n#details[qApp_deviceIsPhoenix=true] {\n  max-height: 515px;\n  min-height: 515px;\n}\n#details[qApp_deviceIsDragon=true] {\n  max-height: 710px;\n  min-height: 710px;\n}\n#details[qApp_deviceIsDaylight=true] {\n  max-height: 880px;\n  min-height: 880px;\n}"
I can't pretend to know what is going on. If I were to hazard a guess though, I think the first replacement adjusts the size of the top container on the page which contains the book cover, title and author, and the second replacement adjusts the size of the synopsis pane. I commented out the second replacement in the hope it would just magically sort itself out. This actually seems to have worked. I then reduced the size of the top container (just the qApp_deviceIsDaylight part, since I have an Aura ONE) so as to make full use of the available screen space.

Then I stuck it together with duct tape Hopefully it holds up!

Thanks again!
JeanPierre is offline   Reply With Quote