Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option for notify position #685

Open
ghost opened this issue Jun 18, 2015 · 4 comments
Open

add option for notify position #685

ghost opened this issue Jun 18, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 18, 2015

sometimes it is annoying, if you work on a navigation top bar or a header, browsersync pushes its notification on the upper right corner. i would like to see an option to position the notification in the other corners as well.

notify: topleft | topright | bottomleft | bottomright

I know I can position the notification with css myself.

@shinnn
Copy link
Contributor

shinnn commented Jun 18, 2015

👍 Good idea. I prefer user-editable CSS that would be more flexible.

@shakyShane
Copy link
Contributor

You can override the defaults too, although you've have to provide the entire set.

This would set it to the bottom right

notify: {
    styles:  [
        "display: none",
        "padding: 15px",
        "font-family: sans-serif",
        "position: fixed",
        "font-size: 0.9em",
        "z-index: 9999",
        "bottom: 0px",
        "right: 0px",
        "border-bottom-left-radius: 5px",
        "background-color: #1B2032",
        "margin: 0",
        "color: white",
        "text-align: center"
    ];
}

Ideally this would something you can tweak from the UI

@shakyShane
Copy link
Contributor

@shinnn
Copy link
Contributor

shinnn commented Jun 18, 2015

Oh I didn't aware of options.notify.styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants