Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am trying to override the width of the table that this module adds under /admin/reports/updates/settings
for a custom theme. The sticky header style is hard-coded:
<table class="sticky-header" style="position: fixed; top: 0px; width: 595px; left: 500.5px; visibility: visible;">
So are the widths of the headers:
<th style="width: 92px;" class="update-advanced-project">Project</th>
<th style="width: 149px;" class="update-advanced-status">Warn if out of date</th>
<th style="width: 315px;" class="update-advanced-notes">Notes</th>
I managed to override the stick header width by:
table.sticky-header {
width: 460px !important;
}
...but I had no luck in shrinking the rest of the table. Some help on this one please.
Comments
Comment #1
klonosbtw... can the notes' input fields be the source of my troubles? Can they be multi-line and how could I set their length?
I see they have a
maxlength ="128"
setting, but they are actually 315px wide. Could it be that they are somehow picking up the width set for the update-advanced-notes header in the sticky table?Comment #2
hass CreditAttribution: hass commentedThere are no widths set in theme_update_advanced_settings().
Maybe it's update_advanced.css
Comment #3
hass CreditAttribution: hass commentedRemoving this makes the visual expierence in the form a bit bad... maybe you'd like to override it in your theme.
EDIT: Ups... all based on 7.x, but I guess the code base is the same :-)
Comment #4
klonosYep, sorry for not closing this one before. I've since moved to 7.x and figured which styles I needed to override. Thanx.
PS: this is actually a works-as-designed.