Revert "Add meta_text
to style metaline"
This reverts commit beb91fa094
.
This commit is contained in:
parent
beb91fa094
commit
c8dfccff36
3 changed files with 1 additions and 9 deletions
|
@ -257,7 +257,7 @@ impl NotificationPanel {
|
||||||
} else {
|
} else {
|
||||||
"You declined"
|
"You declined"
|
||||||
},
|
},
|
||||||
style.meta_text.text.clone(),
|
style.read_text.text.clone(),
|
||||||
)
|
)
|
||||||
.flex_float()
|
.flex_float()
|
||||||
.into_any(),
|
.into_any(),
|
||||||
|
|
|
@ -674,7 +674,6 @@ pub struct NotificationPanel {
|
||||||
pub icon_button: Interactive<IconButton>,
|
pub icon_button: Interactive<IconButton>,
|
||||||
pub unread_text: ContainedText,
|
pub unread_text: ContainedText,
|
||||||
pub read_text: ContainedText,
|
pub read_text: ContainedText,
|
||||||
pub meta_text: ContainedText,
|
|
||||||
pub timestamp: ContainedText,
|
pub timestamp: ContainedText,
|
||||||
pub button: Interactive<ContainedText>,
|
pub button: Interactive<ContainedText>,
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,13 +44,6 @@ export default function (): any {
|
||||||
...notification_text,
|
...notification_text,
|
||||||
color: notification_read_text_color,
|
color: notification_read_text_color,
|
||||||
},
|
},
|
||||||
meta_text: {
|
|
||||||
padding: { top: 4, bottom: 4, right: 4 },
|
|
||||||
...text(layer, "sans", "base"),
|
|
||||||
color: with_opacity(
|
|
||||||
theme.middle.base.default.foreground,
|
|
||||||
0.6)
|
|
||||||
},
|
|
||||||
unread_text: notification_text,
|
unread_text: notification_text,
|
||||||
button: text_button({
|
button: text_button({
|
||||||
variant: "ghost",
|
variant: "ghost",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue