cargo fmt

This commit is contained in:
Mike Dilger 2023-03-05 20:44:49 +13:00
parent 4dff6742e9
commit 30796bb919
3 changed files with 19 additions and 4 deletions

View File

@ -386,7 +386,12 @@ impl ThemeDef for ClassicTheme {
}
}
fn feed_frame_inner_margin(_post: &PostProperties) -> Margin {
Margin { left: 0.0, top: 4.0, right: 0.0, bottom: 0.0 }
Margin {
left: 0.0,
top: 4.0,
right: 0.0,
bottom: 0.0,
}
}
fn feed_frame_outer_margin(_post: &PostProperties) -> Margin {
Margin::default()

View File

@ -383,7 +383,12 @@ impl ThemeDef for DefaultTheme {
}
}
fn feed_frame_inner_margin(_post: &PostProperties) -> Margin {
Margin{ left: 10.0, top: 14.0, right: 10.0, bottom: 10.0 }
Margin {
left: 10.0,
top: 14.0,
right: 10.0,
bottom: 10.0,
}
}
fn feed_frame_outer_margin(_post: &PostProperties) -> Margin {
Margin::symmetric(0.0, 0.0)

View File

@ -225,7 +225,7 @@ impl ThemeDef for RoundyTheme {
hyperlink_color: Color32::from_rgb(0x55, 0x7a, 0x95), // DONE
selection: Selection {
bg_fill: Color32::WHITE, // DONE
bg_fill: Color32::WHITE, // DONE
stroke: Stroke::new(1.0, Color32::from_rgb(0x5d, 0x5c, 0x61)), // DONE
},
@ -378,7 +378,12 @@ impl ThemeDef for RoundyTheme {
}
fn feed_post_inner_indent(_ui: &mut eframe::egui::Ui, _post: &PostProperties) {}
fn feed_frame_inner_margin(_post: &PostProperties) -> Margin {
Margin { left: 10.0, right: 10.0, top: 10.0, bottom: 5.0 }
Margin {
left: 10.0,
right: 10.0,
top: 10.0,
bottom: 5.0,
}
}
fn feed_frame_outer_margin(_post: &PostProperties) -> Margin {
Margin::default()