Style info text

This commit is contained in:
Joseph Lyons 2023-02-08 21:02:28 -05:00
parent a9c2f42f70
commit 57e10ce7c6
3 changed files with 9 additions and 12 deletions

View file

@ -534,16 +534,12 @@ impl View for FeedbackInfoText {
fn render(&mut self, cx: &mut RenderContext<Self>) -> ElementBox {
let theme = cx.global::<Settings>().theme.clone();
let text = "We read whatever you submit here. For issues and discussions, visit the community repo on GitHub.";
Label::new(
theme.workspace.titlebar.outdated_warning.text.clone(),
text.to_string(),
)
.contained()
.with_style(theme.workspace.titlebar.outdated_warning.container)
.aligned()
.left()
.clipped()
.boxed()
Label::new(text.to_string(), theme.feedback.info_text.text.clone())
.contained()
.aligned()
.left()
.clipped()
.boxed()
}
}