mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 02:27:53 +00:00
Adwaita: Don't grow flat entries
Entries in treeviews and similar embedded situations don't really work well if their height is forced to be big. Take out the min-height for these. https://bugzilla.gnome.org/show_bug.cgi?id=761686
This commit is contained in:
parent
85b44a3e20
commit
32804e098e
@ -248,6 +248,7 @@ entry {
|
||||
|
||||
&.flat,
|
||||
&.flat:focus {
|
||||
min-height: 0;
|
||||
padding: 2px;
|
||||
@include entry(normal, $edge:none);
|
||||
border: none;
|
||||
|
@ -195,6 +195,7 @@ entry, spinbutton:not(.vertical) {
|
||||
border: none;
|
||||
box-shadow: none; }
|
||||
entry.flat, spinbutton.flat:not(.vertical), entry.flat:focus, spinbutton.flat:focus:not(.vertical) {
|
||||
min-height: 0;
|
||||
padding: 2px;
|
||||
background-color: #292929;
|
||||
background-image: linear-gradient(to bottom, #1d2020, #242525 3px, #292929 90%);
|
||||
|
@ -195,6 +195,7 @@ entry, spinbutton:not(.vertical) {
|
||||
border: none;
|
||||
box-shadow: none; }
|
||||
entry.flat, spinbutton.flat:not(.vertical), entry.flat:focus, spinbutton.flat:focus:not(.vertical) {
|
||||
min-height: 0;
|
||||
padding: 2px;
|
||||
background-color: #ffffff;
|
||||
background-image: linear-gradient(to bottom, #d3d3d1, #fcfcfc 2px, #ffffff 90%);
|
||||
|
Loading…
Reference in New Issue
Block a user