in.gr - broken layout

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3006
Joined: 2012-08-19, 20:32

in.gr - broken layout

Post by back2themoon » 2025-10-09, 13:05

Cannot say if this is related (partially, fully or at all) to inset-inline shorthand support - Issue #2857 (UXP), so here's another layout problem.

Their home page seems to be fine: https://www.in.gr/

Scroll further down though and you will notice text overlap on the left.

All page articles are more adversely affected: layout is broken. Main article text is squeezed in a middle-right tiny section, and secondary sections like "Spotlight" take center place:

https://www.in.gr/2025/09/25/english-ed ... ighest-eu/

User avatar
tellu-white
Lunatic
Lunatic
Posts: 255
Joined: 2022-03-08, 22:02

Re: in.gr - broken layout

Post by tellu-white » 2025-10-12, 20:36

back2themoon wrote:
2025-10-09, 13:05
Cannot say if this is related (partially, fully or at all) to inset-inline shorthand support - Issue #2857 (UXP), so here's another layout problem.

Their home page seems to be fine: https://www.in.gr/

Scroll further down though and you will notice text overlap on the left.

All page articles are more adversely affected: layout is broken. Main article text is squeezed in a middle-right tiny section, and secondary sections like "Spotlight" take center place:

https://www.in.gr/2025/09/25/english-ed ... ighest-eu/
Try the following combination of CSS code + filter in the "Intercept & Modify HTTP Response 4.3" add-on. Without the filter, some images will not load (see screenshots below).

CSS:

Code: Select all

@-moz-document url("https://www.in.gr/") {
	#topnews .column {
		padding-left: 20px !important;
	}
	
	.bigrow-article .wrap-mask-title {
		position: relative !important;
	}
	
	.column.is-4-desktop.is-full-tablet.is-full-mobile.is-full-small {
		width: 200px !important;
		height: 200px !important;
	}
	
	.extra-top-posts.extp__1 {
		margin-bottom: 60px !important;
	}
}

@-moz-document regexp("https:\/\/www.in.gr\/.+") {
	.column.order__0 {
		width: calc(100vw / 3) !important;
		max-width: calc(100vw / 3) !important;
	}
	
	.column.order__1 {
		width: calc(100vw / 6) !important;
		max-width: calc(100vw / 6) !important;
	}
	
	.column.pt-0 {
		margin-right: 60px !important;
	}
}
Filter:

Code: Select all

[`/in.gr/`, `/.*/`, [`/<noscript[\S\s]*?<\/noscript>/g`, ``], [`/<figure.*?>/g`, ``], [`/<\/figure>/g`, ``]]
Screenshots:

1. URL = https://www.in.gr/

a. Without workaround:
01_a.jpg
b. With workaround:
01_b.jpg
a. Without workaround:
02_a.jpg
b. With workaround:
02_b_1.jpg
02_b_2.jpg
***

2. URL = https://www.in.gr/2025/10/12/life/lathos-vasilissa-den-einai-maria-antouaneta-einai-adelfi-tis-anatropi-gia-istoriko-paidiko-portreto/

a. Without workaround:
03_a.jpg
b. With workaround:
03_b.jpg
a. Without workaround:
04_a.jpg
b. With workaround:
04_b.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: in.gr - broken layout

Post by adoxa » 2025-10-12, 23:50

A simpler change - remove the use of min.

Modify HTTP Response filter...

Code: Select all

[["www.in.gr",["/autoptimize.*\\.css$/",["min(100vw,var(--maxgridrow))","var(--maxgridrow)"]]]]
or userstyle.

Code: Select all

@-moz-document domain("www.in.gr") {
  :root {
    --col-width: calc(var(--maxgridrow)/26)
  }
}

User avatar
tellu-white
Lunatic
Lunatic
Posts: 255
Joined: 2022-03-08, 22:02

Re: in.gr - broken layout

Post by tellu-white » 2025-10-13, 13:34

adoxa wrote:
2025-10-12, 23:50
A simpler change - remove the use of min.

Modify HTTP Response filter...

or userstyle.
It works :thumbup:

A small addition: the "!important" rule must be added to the CSS code:

Code: Select all

@-moz-document domain("www.in.gr") {
	:root {
		--col-width: calc(var(--maxgridrow)/26) !important;
	}
}

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3006
Joined: 2012-08-19, 20:32

Re: in.gr - broken layout

Post by back2themoon » 2025-10-13, 13:50

Thank you both. :thumbup:

So, what is the problem exactly? "Min"?

User avatar
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: in.gr - broken layout

Post by adoxa » 2025-10-13, 14:29

Yep, CSS functions min/max/clamp are not yet supported, Issue #2230 (UXP).