diff options
author | 2020-02-05 00:23:22 +0100 | |
---|---|---|
committer | 2020-02-05 00:23:22 +0100 | |
commit | 0030bcbd33f5c4db60aac826552042e46b51c691 (patch) | |
tree | 08f2ef54d673fb94d02b23644bbc3c204f80998b /web/src/widget/scrollable.rs | |
parent | 7b892eb3e11596925a2993bcc4175ac09ff3768a (diff) | |
download | iced-0030bcbd33f5c4db60aac826552042e46b51c691.tar.gz iced-0030bcbd33f5c4db60aac826552042e46b51c691.tar.bz2 iced-0030bcbd33f5c4db60aac826552042e46b51c691.zip |
Rename module `style` to `css` in `iced_web`
Diffstat (limited to '')
-rw-r--r-- | web/src/widget/scrollable.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/src/widget/scrollable.rs b/web/src/widget/scrollable.rs index f146e007..19810531 100644 --- a/web/src/widget/scrollable.rs +++ b/web/src/widget/scrollable.rs @@ -1,5 +1,5 @@ //! Navigate an endless amount of content with a scrollbar. -use crate::{bumpalo, style, Align, Bus, Column, Element, Length, Widget}; +use crate::{bumpalo, css, Align, Bus, Column, Css, Element, Length, Widget}; /// A widget that can vertically display an infinite amount of content with a /// scrollbar. @@ -105,12 +105,12 @@ where &self, bump: &'b bumpalo::Bump, bus: &Bus<Message>, - style_sheet: &mut style::Sheet<'b>, + style_sheet: &mut Css<'b>, ) -> dodrio::Node<'b> { use dodrio::builder::*; - let width = style::length(self.width); - let height = style::length(self.height); + let width = css::length(self.width); + let height = css::length(self.height); let node = div(bump) .attr( |