Fix circular buttons to actually be round

This commit is contained in:
fiaxh 2022-01-08 21:33:57 +01:00
parent bafec6e202
commit e40de72631
3 changed files with 11 additions and 2 deletions

View File

@ -136,12 +136,14 @@
<property name="visible">True</property>
<child>
<object class="GtkButton" id="x_button">
<property name="width-request">27</property>
<property name="height-request">27</property>
<property name="vexpand">False</property>
<property name="visible">True</property>
<property name="margin-start">5</property>
<style>
<class name="conversation_list_row_xbutton"/>
<class name="circular"/>
<class name="circular-button"/>
<class name="flat"/>
</style>
<child>

View File

@ -27,12 +27,14 @@
<property name="margin-bottom">30</property>
<child>
<object class="GtkButton" id="goto_end_button">
<property name="width-request">30</property>
<property name="height-request">30</property>
<property name="vexpand">False</property>
<property name="halign">end</property>
<property name="valign">end</property>
<property name="visible">True</property>
<style>
<class name="circular"/>
<class name="circular-button"/>
</style>
<child>
<object class="GtkImage">

View File

@ -78,6 +78,11 @@ window.dino-main .dino-sidebar > frame {
transition: background .05s ease;
}
window.dino-main .circular-button {
padding: 0;
border-radius: 1000px;
}
window.dino-main .dino-conversation .message-box.edit-mode {
background: alpha(@theme_selected_bg_color, 0.1);
}