code.onehippo.org is currently readonly. We are migrating to code.bloomreach.com, please continue working there on Monday 14/12. See: https://docs.bloomreach.com/display/engineering/GitLab

  • Mathijs den Burger's avatar
    CHANNELMGR-1262 Remove custom parent container of toast messages · 05c89212
    Mathijs den Burger authored
    We need a toast message when creating preview config fails. In
    that case hippo-iframe (the default container) is not rendered yet
    when the channel is opened for the first time. The mdToast service
    then falls back to using the body, but the second time (when
    hippo-iframe is rendered) it does not show toasts anymore.
    Probably a bug.
    
    But: all toast messages should be shown just below the main
    toolbar. So instead of having complex logic around the parent
    element, move the toast container a little down with CSS.
    05c89212
index.scss 1.01 KB