A bit more progress styling find
Fix the pinwheel when hovering mode buttons.
This commit is contained in:
@@ -90,7 +90,9 @@ pub struct Tab {
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct Find {
|
||||
pub query: InputEditorStyle,
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub editor: FindEditor,
|
||||
pub mode_button_group: ContainerStyle,
|
||||
pub mode_button: ContainedText,
|
||||
pub active_mode_button: ContainedText,
|
||||
@@ -99,6 +101,13 @@ pub struct Find {
|
||||
pub match_background: Color,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct FindEditor {
|
||||
#[serde(flatten)]
|
||||
pub input: InputEditorStyle,
|
||||
pub max_width: f32,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct Sidebar {
|
||||
#[serde(flatten)]
|
||||
|
||||
Reference in New Issue
Block a user