﻿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
17978	Minor layout issue when an inline contains a filter horizontal widget	Aymeric Augustin	Julien Phalip	"Assuming these models:

{{{
from django.db import models

class Slave(models.Model):
    name = models.CharField(max_length=100)

class Master(models.Model):
    name = models.CharField(max_length=100)

class Apprentice(models.Model):
    name = models.CharField(max_length=100)
    master = models.OneToOneField(Master)
    slaves = models.ManyToManyField(Slave)
}}}

and this admin:

{{{
from django.contrib import admin
from .models import Apprentice, Master

class ApprenticeInline(admin.StackedInline):
    filter_horizontal = ('slaves',)
    model = Apprentice

class MasterAdmin(admin.ModelAdmin):
    inlines = (ApprenticeInline,)

admin.site.register(Master, MasterAdmin)
}}}

there's a small layout issue highlighted on the screenshot attached to this ticket.

The problem is caused by `.inline-group .aligned label { with: 8em; }` from `forms.css` overriding `.selector .selector-filter label { width: 16px; }` from widgets.css."	Bug	closed	contrib.admin	1.4	Normal	fixed			Accepted	0	0	0	0	0	0
