Revert buggy pr (#28554)
Earlier, I merged #24723 Before merging it, I made a change that was incorrect and fast followed with a fix: #28548 Following that fix, @bennetbo discovered that the modals where no longer highlighting correctly, particularly the outline modal. So I'm going to revert it all. Release Notes: - N/A
This commit is contained in:
parent
71c2a11bd9
commit
c143846e42
4 changed files with 21 additions and 70 deletions
|
@ -8,13 +8,11 @@ struct HelloWorld {}
|
|||
impl Render for HelloWorld {
|
||||
fn render(&mut self, _window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
|
||||
div()
|
||||
.font_family(".SystemUIFont")
|
||||
.bg(gpui::white())
|
||||
.flex()
|
||||
.flex_col()
|
||||
.gap_2()
|
||||
.p_4()
|
||||
.gap_4()
|
||||
.size_full()
|
||||
.child(div().child("Text left"))
|
||||
.child(div().text_center().child("Text center"))
|
||||
|
@ -73,24 +71,6 @@ impl Render for HelloWorld {
|
|||
.child("100%"),
|
||||
),
|
||||
)
|
||||
.child(
|
||||
div()
|
||||
.id("Text Link")
|
||||
.text_color(gpui::blue())
|
||||
.cursor_pointer()
|
||||
.active(|this| {
|
||||
this.text_color(gpui::white())
|
||||
.bg(gpui::blue())
|
||||
.text_decoration_1()
|
||||
.text_decoration_wavy()
|
||||
})
|
||||
.hover(|this| {
|
||||
this.text_color(gpui::rgb(0x973717))
|
||||
.bg(gpui::yellow())
|
||||
.text_decoration_1()
|
||||
})
|
||||
.child("Text with hover, active styles"),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue