summaryrefslogtreecommitdiffstats
path: root/web/src/style.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-31 11:37:41 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-31 11:37:41 +0100
commite98471d5b60d34e54defaba6e5979ff881e380e6 (patch)
tree428d923a092bc710697762e048d7a95505cc7085 /web/src/style.rs
parentfb9cc0262b30a953e8188897b74abb5106ea1fd8 (diff)
parent26de688e68347e1f6e388d01014eac89cea71afa (diff)
downloadiced-e98471d5b60d34e54defaba6e5979ff881e380e6.tar.gz
iced-e98471d5b60d34e54defaba6e5979ff881e380e6.tar.bz2
iced-e98471d5b60d34e54defaba6e5979ff881e380e6.zip
Merge branch 'master' into feature/custom-styling
Diffstat (limited to 'web/src/style.rs')
-rw-r--r--web/src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/style.rs b/web/src/style.rs
index 2fb8602a..4f72b22c 100644
--- a/web/src/style.rs
+++ b/web/src/style.rs
@@ -139,7 +139,7 @@ pub fn length(length: Length) -> String {
match length {
Length::Shrink => String::from("auto"),
Length::Units(px) => format!("{}px", px),
- Length::Fill => String::from("100%"),
+ Length::Fill | Length::FillPortion(_) => String::from("100%"),
}
}