Refactor text style helpers
This commit is contained in:
@@ -145,7 +145,7 @@ impl gpui::RenderOnce for IssueListItem {
|
||||
text(self.title)
|
||||
.text_sm()
|
||||
.leading_tight()
|
||||
.medium()
|
||||
.font_weight(gpui::FontWeight::MEDIUM)
|
||||
.w_full()
|
||||
.min_w_0()
|
||||
.line_clamp(2),
|
||||
|
||||
@@ -117,7 +117,7 @@ impl gpui::Render for Sidebar {
|
||||
.child(
|
||||
text("PULL REQUESTS")
|
||||
.text_xs()
|
||||
.medium()
|
||||
.font_weight(gpui::FontWeight::MEDIUM)
|
||||
.opacity(0.5)
|
||||
.pl_3()
|
||||
.py_1(),
|
||||
|
||||
Reference in New Issue
Block a user