prophiler icon indicating copy to clipboard operation
prophiler copied to clipboard

Toolbar position

Open ashpumpkin opened this issue 9 years ago • 3 comments

Hi guys! It would be awesome to have an opportunity to customize toolbar position (at least bottom and top). And don't you think that bottom as default position is better than top position?

ashpumpkin avatar Mar 03 '15 23:03 ashpumpkin

I added toggle button, because prophiler toolbar covering a my navbar. See https://github.com/Sweet-Bob/prophiler/commit/ea00419274ad9ea7969f3ab67ad030bc9e3f9ee9

spr1ne avatar Mar 12 '15 15:03 spr1ne

Hi, Im using this simple solution for positioning toolbar to bottom of screen, just add these CSS rules at the end of your website stylesheet (so that default rules for top toolbar position can be overwritten):

body {
    margin-top: 0 !important;
    margin-bottom: 35px !important;
}
#prophiler {
    top: inherit;
    bottom: 0;
}

NOTE: This is not perfect solution for production-ready website because it would leave 35px margin offset from bottom, since these rules are loaded from stylesheet and not dynamically injected by Phalcon into "head" element as "style", so it is useful during website development, while Prophiler toolbar is active.

Crank1d avatar Oct 27 '15 13:10 Crank1d

this worked for me

body { margin-top: 0 !important; margin-bottom: 35px !important; } #prophiler { top: unset !important; bottom: 0; }

ridaamirini avatar Jul 04 '17 15:07 ridaamirini