GNOME Bugzilla – Bug 779078
Adwaita: last treeview header button adds border on hover
Last modified: 2017-05-17 18:21:58 UTC
Created attachment 346463 [details] [review] adwaita: Avoid accidental border on the last treeview header button Hovering the last treeview header button causes a right border to be added to it. This causes the treeview size to change and thus can result in the content of that column being shifted around or a scrollbar to appear. Both can be seen in sysprof for example. This is because the :hover selector overrides the :last-child selector which is supposed to hide this border. This is fixed by adding an additional :last-child:hover selector that overrides :hover again. I've done the same for :active, but I'm not sure if this is strictly necessary. This bug affects both master and gtk-3-22.
Good catch, I'd rather move the :last-child selector after the :hover overriding it instead of adding more specific selectors though
Pushed a fix to master and 3-22 branch, closing.