diff --git a/client/src/component/entry.rs b/client/src/component/entry.rs index 20fcc07..de18068 100644 --- a/client/src/component/entry.rs +++ b/client/src/component/entry.rs @@ -12,7 +12,10 @@ pub fn view(entry: &crate::model::Entry, active: bool) -> iced::Element<'static, ) .style(style(active)), ) - .height(2.25 * crate::REM) + // We're fixing the height here to unitfy it + // with the height of plugin headers for a smooth + // scrolling experience + .height(crate::ENTRY_HEIGHT) .padding(iced::Padding::from([0., 0.75 * crate::REM])) .into(); } diff --git a/client/src/component/plugin_header.rs b/client/src/component/plugin_header.rs index b5ecd25..03ad66c 100644 --- a/client/src/component/plugin_header.rs +++ b/client/src/component/plugin_header.rs @@ -7,7 +7,10 @@ pub fn view(plugin: &crate::model::Plugin) -> iced::Element<'static, crate::Mess monospaced: true, }) .size(0.75 * crate::REM)] - .height(2.25 * crate::REM) + // We're fixing the height here to unitfy it + // with the height of entries for a smooth + // scrolling experience + .height(crate::ENTRY_HEIGHT) .padding(iced::Padding::from([ 0.8 * crate::REM, 1.25 * crate::REM,