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 { room-history-row {
padding-top: 6px; padding: 3px 8px;
padding-bottom: 6px;
padding-left: 8px;
padding-right: 8px;
border-radius: 6px; border-radius: 6px;
transition-property: outline, outline-width, outline-offset, outline-color; transition-property: outline, outline-width, outline-offset, outline-color;
transition-duration: 300ms; transition-duration: 300ms;
@ -382,7 +379,7 @@ room-history-row {
} }
room-history-row.has-header { room-history-row.has-header {
margin-top: 6px; margin-top: 0;
} }
room-history-row:not(.has-header) .event-content:dir(ltr), room-history-row:not(.has-header) .event-content:dir(ltr),

View File

@ -151,22 +151,14 @@
<class name="undershoot-bottom"/> <class name="undershoot-bottom"/>
</style> </style>
<property name="child"> <property name="child">
<object class="AdwClampScrollable"> <object class="GtkListView" id="listview">
<property name="vexpand">True</property> <style>
<property name="hexpand">True</property> <class name="navigation-sidebar"/>
<property name="maximum-size">750</property> </style>
<property name="tightening-threshold">550</property> <property name="tab-behavior">item</property>
<property name="child"> <accessibility>
<object class="GtkListView" id="listview"> <property name="label" translatable="yes">Room History</property>
<style> </accessibility>
<class name="navigation-sidebar"/>
</style>
<property name="tab-behavior">item</property>
<accessibility>
<property name="label" translatable="yes">Room History</property>
</accessibility>
</object>
</property>
</object> </object>
</property> </property>
</object> </object>
@ -178,15 +170,9 @@
</object> </object>
</child> </child>
<child> <child>
<object class="AdwClamp"> <object class="MessageToolbar" id="message_toolbar">
<property name="vexpand">False</property> <property name="vexpand">False</property>
<property name="maximum-size">750</property> <property name="room" bind-source="ContentRoomHistory" bind-property="room" bind-flags="sync-create" />
<property name="tightening-threshold">550</property>
<child>
<object class="MessageToolbar" id="message_toolbar">
<property name="room" bind-source="ContentRoomHistory" bind-property="room" bind-flags="sync-create" />
</object>
</child>
</object> </object>
</child> </child>
</object> </object>