View Single Post
Old 12-19-2018, 08:48 PM   #78
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Thanks for the testing jcn363 and NiLuJe. The results make me think the blank header/booter space is not being set by directly adjusting the viewport height, and I haven't been able to find anywhere in the code where the viewport height is being calculated, which makes me think it might be done via CSS properties.

Had anyone tried changing the heights or top/bottom margin/padding of likely objects in the compressed CSS streams in nickel? One to try mught be MediumVertSpacer which has the right heights, but it is probably being used for a lot of different things.

E.g. a patch to halve MediumVertSpacer height (nickel.yaml)
Spoiler:
Code:
Decrease MediumVertSpacer:
  - Enabled: yes
  - FindZlib: "* {\n  background-color: white;\n}\nQWidget[smallIconHeight=true][qApp_deviceIsTrilogy=true]"
  - ReplaceZlib: {Offset: 0, Find: "MediumVertSpacer[qApp_deviceIsTrilogy=true] {\n  min-height: 24px;\n  max-height: 24px;\n}", Replace: "MediumVertSpacer[qApp_deviceIsTrilogy=true] {\n  min-height: 12px;\n  max-height: 12px;\n}"}
  - ReplaceZlib: {Offset: 0, Find: "MediumVertSpacer[qApp_deviceIsPhoenix=true] {\n  min-height: 32px;\n  max-height: 32px;\n}", Replace: "MediumVertSpacer[qApp_deviceIsPhoenix=true] {\n  min-height: 16px;\n  max-height: 16px;\n}"}
  - ReplaceZlib: {Offset: 0, Find: "MediumVertSpacer[qApp_deviceIsDragon=true] {\n  min-height: 44px;\n  max-height: 44px;\n}", Replace: "MediumVertSpacer[qApp_deviceIsDragon=true] {\n  min-height: 22px;\n  max-height: 22px;\n}"}
  - ReplaceZlib: {Offset: 0, Find: "MediumVertSpacer[qApp_deviceIsDaylight=true] {\n  min-height: 56px;\n  max-height: 56px;\n}", Replace: "MediumVertSpacer[qApp_deviceIsDaylight=true] {\n  min-height: 28px;\n  max-height: 28px;\n}"}
GeoffR is offline   Reply With Quote