﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27743	"CSS fix of ""viewsitelink"", ""golink"" and ""addlink"" buttons for Django admin"	Nick Mavrakis	nobody	"This is a minor fix but, in my opinion, its very helpful!

Inside the Django admin change list page, in the upper right corner (ADD OBJECT button), if the text is too long then the ""+"" icon overlaps the text as you can see in the image. This is due to the `background-position: 93% center` (https://github.com/django/django/blob/master/django/contrib/admin/static/admin/css/base.css#L741).

PROPOSED FIX: Because `background-position` can take up to 4 values due to `background position edge offsets` (http://caniuse.com/#feat=css-background-offsets), we can change the above line to:

`background-position: right 7px center;`

The same applies to the other button, `VIEW ON SITE` (https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.view_on_site), as well."	Cleanup/optimization	closed	contrib.admin	dev	Normal	fixed	admin, css, background-position, icon	elky	Accepted	1	0	0	0	0	1
