mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-04 08:48:45 -04:00
Add right-pane for item descriptions
This commit is contained in:
@@ -266,6 +266,22 @@ Window::Window(Rml::Element* parent, std::string_view id, std::function<void()>
|
||||
{"overflow-y", "auto"},
|
||||
});
|
||||
|
||||
m_rightPane = append(m_contentRow, "div");
|
||||
set_props(m_rightPane, {
|
||||
{"display", "none"},
|
||||
{"flex-direction", "column"},
|
||||
{"box-sizing", "border-box"},
|
||||
{"min-width", "0"},
|
||||
{"min-height", "0"},
|
||||
{"padding-top", "24dp"},
|
||||
{"padding-bottom", "24dp"},
|
||||
{"padding-right", "24dp"},
|
||||
{"padding-left", "8dp"},
|
||||
{"align-items", "flex-start"},
|
||||
{"overflow-y", "auto"},
|
||||
});
|
||||
|
||||
apply_pane_layout();
|
||||
apply_close_style();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user