Project

General

Profile

Actions

Bug #18874

closed

Checkboxes and labels are aligned badly if in one line

Added by Uschi Renziehausen over 16 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-05-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:

Checkboxes and miss a margin-right if labels are to the right.

Solution:
Set checkboxes to vertical-align: middle and give them a margin-right of 2px.

(issue imported from #M8561)


Files

checkbox-align-margin.diff (503 Bytes) checkbox-align-margin.diff Administrator Admin, 2008-05-30 23:20
checkbox-label-before.png (4.51 KB) checkbox-label-before.png Administrator Admin, 2008-05-30 23:21
checkbox-label-after.png (4.5 KB) checkbox-label-after.png Administrator Admin, 2008-05-30 23:21
checkbox-align-margin-v2.diff (2.2 KB) checkbox-align-margin-v2.diff Administrator Admin, 2008-06-01 10:52
8561_new.diff (3.14 KB) 8561_new.diff Administrator Admin, 2008-11-03 08:41
8561_new_42.diff (3.06 KB) 8561_new_42.diff Administrator Admin, 2008-11-03 08:41
8561_new_42-2.diff (3.08 KB) 8561_new_42-2.diff Administrator Admin, 2008-11-22 16:27
8561_followup.patch (446 Bytes) 8561_followup.patch Administrator Admin, 2009-05-19 10:58
Actions #1

Updated by Uschi Renziehausen over 16 years ago

I made a second version of the patch because the first one caused checkboxes before input[type="text"] to be aligned badly. Thus, a new class is introduced for that case.

Uschi

Actions #2

Updated by Steffen Kamper about 16 years ago

I attached new patches 8561_new.diff and for 4.2 the 8561_new_42.diff

Actions #3

Updated by Francois Suter almost 16 years ago

A slight addition to Steffen's 4.2 version, with a .radio selector added so that radio buttons also get aligned properly.

Actions #4

Updated by Steffen Kamper almost 16 years ago

committed to
  • 4_2 rev 4485
  • trunk rev 4486
Actions

Also available in: Atom PDF