Remove width restrictions and the overly aggressive padding

This commit is contained in:
Vivianne 2023-12-23 01:48:21 -05:00
parent 541f4fa19c
commit faa96e4b09
2 changed files with 12 additions and 29 deletions

View file

@ -368,10 +368,7 @@ sidebar-row.drop-active.drop-empty .dim-label {
}
room-history-row {
padding-top: 6px;
padding-bottom: 6px;
padding-left: 8px;
padding-right: 8px;
padding: 3px 8px;
border-radius: 6px;
transition-property: outline, outline-width, outline-offset, outline-color;
transition-duration: 300ms;
@ -382,7 +379,7 @@ room-history-row {
}
room-history-row.has-header {
margin-top: 6px;
margin-top: 0;
}
room-history-row:not(.has-header) .event-content:dir(ltr),

View file

@ -150,12 +150,6 @@
<class name="room-history"/>
<class name="undershoot-bottom"/>
</style>
<property name="child">
<object class="AdwClampScrollable">
<property name="vexpand">True</property>
<property name="hexpand">True</property>
<property name="maximum-size">750</property>
<property name="tightening-threshold">550</property>
<property name="child">
<object class="GtkListView" id="listview">
<style>
@ -170,26 +164,18 @@
</object>
</property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwClamp">
<property name="vexpand">False</property>
<property name="maximum-size">750</property>
<property name="tightening-threshold">550</property>
<child>
<object class="MessageToolbar" id="message_toolbar">
<property name="vexpand">False</property>
<property name="room" bind-source="ContentRoomHistory" bind-property="room" bind-flags="sync-create" />
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</child>