mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add legacy ‘from-top’ class at the view layer, not the model
This blends in to our approach with the other legacy panel classes.
This commit is contained in:
@@ -16,7 +16,7 @@ class PanelContainerElement extends HTMLElement
|
||||
panelElement = panel.getView()
|
||||
panelElement.classList.add(@model.getLocation())
|
||||
if @model.isModal()
|
||||
panelElement.classList.add("overlay")
|
||||
panelElement.classList.add("overlay", "from-top")
|
||||
else
|
||||
panelElement.classList.add("panel-#{@model.getLocation()}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user