Loading...
 
Skip to main content

Border on checkbox cells in tables broken by position: relative

Status
Closed
Subject
Border on checkbox cells in tables broken by position: relative
Version
27.x
Category
  • Regression
  • Less than 30-minutes fix
Feature
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Works For Me
Submitted by
Gary Cunningham-Lee
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Currently in master, the horizontal borders on table cells that contain check boxes aren't displaying. Removing the "position: relative" property from these cells solves the problem (the borders display, like those on the other cells in the table row). I would like to remove this property but don't know what its purpose is, or when it was added. (It's not a Bootstrap rule - it was added in themes/base_files/_tiki-tabs_and_tables.scss.)

Apparently related to https://gitlab.com/tikiwiki/tiki/-/commit/ea3869d71c9ede4765d06a336ac0f5233c7d1f80 .

When I disable it, I don't see a negative effect in desktop or mobile view, only the positive effect of the border displaying again. If someone knows the reason for this property, it would be great if they could switch to an alternative solution that doesn't mess up the table display. If no one knows the reason, I'll comment out the rule in the SCSS file.

Solution
Workaround
Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8568
Reviewed by Wishlist Team On
10 Feb 26 01:12 UTC
Created
Saturday 02 December, 2023 15:47:51 UTC
by Gary Cunningham-Lee
LastModif
Wednesday 11 February, 2026 01:10:29 UTC


Show PHP error messages