Skip to content

Commit 5040b86

Browse files
authored
Merge pull request #431 from melix99/small-body-font
Small font changes
2 parents dd66d1a + 51dffe3 commit 5040b86

4 files changed

Lines changed: 12 additions & 14 deletions

File tree

data/resources/style.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
font-size: 0.8em;
77
}
88

9+
.small-body {
10+
font-size: 10pt;
11+
}
12+
913
/* NOTE: The default `accent` class produces
1014
* a semi-transparent color with separators.
1115
*/
@@ -76,19 +80,10 @@
7680
padding: 6px 0;
7781
}
7882

79-
.chat-list row .timestamp {
80-
font-size: smaller;
81-
font-feature-settings: "tnum";
82-
}
83-
8483
.chat-list row minithumbnail {
8584
border-radius: 3px;
8685
}
8786

88-
.chat-list row .message {
89-
font-size: small;
90-
}
91-
9287
.chat-list row .unread-mention-count {
9388
color: @accent_fg_color;
9489
background-color: @accent_bg_color;

data/resources/ui/content-chat-action-bar.ui

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
<object class="GtkInscription" id="top_bar_sender_label">
3939
<property name="text-overflow">ellipsize-end</property>
4040
<style>
41-
<class name="caption-heading"/>
41+
<class name="heading"/>
42+
<class name="small-body"/>
4243
<class name="accent"/>
4344
</style>
4445
</object>

data/resources/ui/sidebar-row.ui

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
<property name="single-line-mode">True</property>
5151
<style>
5252
<class name="dim-label"/>
53-
<class name="timestamp"/>
53+
<class name="numeric"/>
54+
<class name="caption"/>
5455
</style>
5556
</object>
5657
</child>
@@ -71,7 +72,7 @@
7172
<property name="ellipsize">end</property>
7273
<property name="xalign">0</property>
7374
<style>
74-
<class name="message"/>
75+
<class name="small-body"/>
7576
</style>
7677
</object>
7778
</child>
@@ -86,7 +87,7 @@
8687
<property name="hexpand">True</property>
8788
<property name="text-overflow">ellipsize-end</property>
8889
<style>
89-
<class name="message"/>
90+
<class name="small-body"/>
9091
</style>
9192
</object>
9293
</child>

src/session/content/message_row/bubble.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ mod imp {
3838
<property name="xalign">0</property>
3939
<property name="visible">False</property>
4040
<style>
41-
<class name="caption-heading"/>
41+
<class name="heading"/>
42+
<class name="small-body"/>
4243
</style>
4344
</object>
4445
</child>

0 commit comments

Comments
 (0)