Project

General

Profile

Actions

Bug #2021

closed

tab display type set to div causes tab content to extend out of tab

Added by krileon about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
19 October 2010
Due date:
% Done:

100%

Estimated time:
0:30 h

Description

When using the profile tab display type of DIV the contents of the tabs extend outside of the tab it self. The following is the proposed culprit as divs without a display style are already the correct width (large as they can go). Forcing width of 100% will cause it to extend outside of the tabs content.

IN: components/com_comprofiler/plugin/templates/default/template.css
ON: Line 103

form.cb_form, .cb_tab_content {
border-width: 0;
margin: 0;
padding: 0;
width: 100%;
}

Removing width: 100%; appears to resolve the issue, but may affect table usage.


Files

2021.patch (1.08 KB) 2021.patch krileon, 19 October 2010 16:36

Related issues 1 (0 open1 closed)

Related to CB - Bug #2083: tab content extending beyond tab bordersClosedbeat24 November 2010

Actions
Actions #1

Updated by krileon about 14 years ago

removed .cb_tab_content from being affected by the forms CSS

Actions #2

Updated by krileon about 14 years ago

  • Status changed from New to Resolved
Actions #3

Updated by beat about 14 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 80 to 100
  • Estimated time set to 0:30 h

As discussed in CB Team:

r1273 makes tables the default also on new installations.

This will give less support on forums, and still allow people that want divs to do it right, and not break existing CB templates.

CB 2.0 with only divs is coming up, and requires different templates, so it's best to do the change at that time.

Actions #4

Updated by beat about 14 years ago

  • Status changed from Closed to New
  • % Done changed from 100 to 50
Actions #5

Updated by beat about 14 years ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100

CB r1200 and coolness/mycommunity r1504 fixes this bug and the related bug #2083 .

Actions

Also available in: Atom PDF