After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601413 - [dash] Move BackLink to CSS
[dash] Move BackLink to CSS
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-10 15:01 UTC by Colin Walters
Modified: 2009-11-12 16:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[dash] Move BackLink to CSS (3.48 KB, patch)
2009-11-10 15:01 UTC, Colin Walters
committed Details | Review

Description Colin Walters 2009-11-10 15:01:53 UTC
The previous commit 626f679947298a99 broke the back links on
search drilldown.
Comment 1 Colin Walters 2009-11-10 15:01:56 UTC
Created attachment 147383 [details] [review]
[dash] Move BackLink to CSS
Comment 2 Marina Zhurakhinskaya 2009-11-10 20:53:40 UTC
Review of attachment 147383 [details] [review]:

Looks good overall.

You need to update data/Makefile.am to reflect that back.svg was moved to theme/section-back.svg

::: data/theme/gnome-shell.css
@@ +108,3 @@
 }
 
+.section-header-back {

This should also have "border-right: 1px solid #262626;" similarly to how the .more-link has the border on the left.

There should be the padding between the image and that border, but just adding "padding: 0px 4px 0px 0px;" doesn't work correctly because it doesn't apply the padding to the background image, and just centers the background image. So you need to add a wrapper box with right padding and right border in dash.js and put the back link there. You can also add a comment explaining why it's necessary and that it can use the margins instead once we have them.

You should also add "spacing: 4px;" to .section-header-inner to have some spacing between the separator (back link's right border) and the section title.
Comment 3 Colin Walters 2009-11-12 16:20:30 UTC
Attachment 147383 [details] pushed as af35dea - [dash] Move BackLink to CSS