Re: [fossil-users] [UI] Increase font size in side-by-side page?

2018-08-03 Thread Gilles

On 03/08/2018 16:19, Warren Young wrote:

On Aug 3, 2018, at 5:38 AM, Gilles  wrote:

Problem is, the font size is a bit small:

That’s because the default view is side-by-side.  Try clicking the Unified Diff 
link at the top of the Fossil UI diff view.

Thanks to both. I'll play with skins and see how it goes.
___
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] [UI] Increase font size in side-by-side page?

2018-08-03 Thread Warren Young
On Aug 3, 2018, at 5:38 AM, Gilles  wrote:
> 
> Problem is, the font size is a bit small:

That’s because the default view is side-by-side.  Try clicking the Unified Diff 
link at the top of the Fossil UI diff view.
___
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] [UI] Increase font size in side-by-side page?

2018-08-03 Thread Joel Dueck
You can customize pretty much anything without plugins if you can
determine an appropriately specific CSS selector for it.

Assuming you use any modern browser, right click the diff and click
"Inspect Element" to see the see the HTML and CSS used to display it.
With some clicking and scrolling around, you'll find that the diff
text is inside a table with class "sbsdiffcols" and that the default
style includes "font-size: xx-small".

So in mine, I changed the size by adding the following CSS to my current skin:

table.sbsdiffcols {
  font-size: x-small;
  line-height: 1.3em;
}

When doing changes like this, be sure and look around to see if a rule
for that selector already exists in the CSS; if it does, modify that
one rather than making a new one. It's easier to debug your changes if
you don't have multiple rules potentially conflicting with each other.

Be sure and read this closely to learn more about changing Fossil's
web UI appearance:
https://www.fossil-scm.org/index.html/doc/trunk/www/customskin.md

On 8/3/18, Gilles  wrote:
> Hello,
>
> The UI seems the easiest way to diff versions and see what changes were
> made to a file between two revisions.
>
> Problem is, the font size is a bit small:
>
> https://postimg.cc/image/wm6lpynzx/
>
> I searched the archives* with "ui font size", but didn't find much.
>
> Is there a way to increase font size, or should I install "Fossil Skins
> Extra" (http://fossil.include-once.org/fossil-skins/index) add-on?
>
> Thank you.
>
> * https://www.mail-archive.com/[email protected]/
>
> ___
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users