Opened 5 years ago
Last modified 14 months ago
#13226 new defect
Hard to find buttons of each report due to the border removed
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-stable-1.6.x |
Component: | report system | Version: | 1.4 |
Severity: | normal | Keywords: | css |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The layout of /report has changed after migration from 1.2.3 to 1.4. With 1.2.3 there was a dotted line from the report title to the buttons, separating the lines. Now that line has disappeared. While the page witdth is automatically set to window width it is hard to find the button on common screen sizes. The old version you can see on https://trac.edgewall.org/demo-1.2/report
Either put the buttons directly after the titles, reduce the width or add some line separators.
Is there a quick workaround by overwriting the CSS to solve this?
Attachments (0)
Change History (10)
comment:1 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 5 years ago
Replying to massimo.b@…:
While the page witdth is automatically set to window width it is hard to find the button on common screen sizes.
Ah, agreed about this point.
comment:3 by , 5 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
comment:4 by , 5 years ago
Work around:
-
trac/htdocs/css/report.css
diff --git a/trac/htdocs/css/report.css b/trac/htdocs/css/report.css index a2a35d24b..42a5af99a 100644
a b 42 42 .report div.reports h3 :link, .report div.reports h3 :visited { 43 43 color: #000; 44 44 border-bottom: none; 45 display: block; 45 46 } 46 47 .report div.reports h3 em { 47 48 color: #800;
comment:5 by , 5 years ago
Milestone: | → next-stable-1.4.x |
---|---|
Summary: | Layout of /report, no line separator → Hard to find buttons of each report due to the border removed |
comment:6 by , 5 years ago
Thanks for the hint. I know, it's a matter of taste, but a
border-bottom: 1px dotted; display: block;
makes it even better readable.
follow-up: 8 comment:7 by , 5 years ago
How would I make that CSS change here? Inside $PROJECTENV I have
$ cat htdocs/report.css .report div.reports h3 :link, .report div.reports h3 :visited { color: #000; border-bottom: 1px dotted lightgrey; display: block; }
Then I did trac-admin $PROJECTENV deploy $PROJECTENV/static
The paths are correct, usually I deploy static content like that with the existing webserver config.
But a deep refresh of the page does not get this CSS. How can I overwrite that section?
comment:8 by , 5 years ago
Replying to massimo.b@…:
But a deep refresh of the page does not get this CSS. How can I overwrite that section?
Please read TracInterfaceCustomization#SiteAppearance again and use developer tools in your browser.
comment:9 by , 5 years ago
Status: | reopened → new |
---|
Not a defect. The style has been changed as same of h3 in wiki page, in [15523#file4] (#12640, #633). That's intentional.
Use custom style sheets by reference to TracInterfaceCustomization#SiteAppearance.