From 089fa5ec26abf064416222f9d3404d8b3bd871a6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Mar 2021 09:34:57 +0300 Subject: [PATCH] use proper syntax for equal-width columns --- themes/compact.css | 2 +- themes/compact_night.css | 2 +- themes/light.css | 2 +- themes/light/tt-rss.less | 2 +- themes/night.css | 2 +- themes/night_blue.css | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/compact.css b/themes/compact.css index 2a9ca952b..bf65e336f 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -650,7 +650,7 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { @media screen and (min-width: 1500px) { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] { display: grid; - grid-template-columns: repeat(2, 0.5fr); + grid-template-columns: repeat(2, minmax(0, 1fr)); background-color: #f5f5f5; grid-gap: 8px; padding: 8px; diff --git a/themes/compact_night.css b/themes/compact_night.css index 5cb6db254..ca2888978 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -650,7 +650,7 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { @media screen and (min-width: 1500px) { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] { display: grid; - grid-template-columns: repeat(2, 0.5fr); + grid-template-columns: repeat(2, minmax(0, 1fr)); background-color: #222; grid-gap: 8px; padding: 8px; diff --git a/themes/light.css b/themes/light.css index eb1f7fe2f..4c27b8175 100644 --- a/themes/light.css +++ b/themes/light.css @@ -650,7 +650,7 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { @media screen and (min-width: 1500px) { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] { display: grid; - grid-template-columns: repeat(2, 0.5fr); + grid-template-columns: repeat(2, minmax(0, 1fr)); background-color: #f5f5f5; grid-gap: 8px; padding: 8px; diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less index 0558bfdee..ac21938c7 100644 --- a/themes/light/tt-rss.less +++ b/themes/light/tt-rss.less @@ -758,7 +758,7 @@ body.ttrss_main { @media screen and (min-width: 1500px) { #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] { display : grid; - grid-template-columns: repeat(2, 0.5fr); + grid-template-columns: repeat(2, minmax(0, 1fr)); background-color: @color-panel-bg; grid-gap : 8px; padding : 8px; diff --git a/themes/night.css b/themes/night.css index b18302166..38a8bf491 100644 --- a/themes/night.css +++ b/themes/night.css @@ -651,7 +651,7 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { @media screen and (min-width: 1500px) { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] { display: grid; - grid-template-columns: repeat(2, 0.5fr); + grid-template-columns: repeat(2, minmax(0, 1fr)); background-color: #222; grid-gap: 8px; padding: 8px; diff --git a/themes/night_blue.css b/themes/night_blue.css index 152f0145d..e9f4d55a0 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -651,7 +651,7 @@ body.ttrss_main #headlines-frame[data-is-vfeed="false"] .header .feed { @media screen and (min-width: 1500px) { body.ttrss_main #headlines-frame[data-is-cdm="true"][data-is-cdm-expanded="true"][data-enable-grid="true"] { display: grid; - grid-template-columns: repeat(2, 0.5fr); + grid-template-columns: repeat(2, minmax(0, 1fr)); background-color: #222; grid-gap: 8px; padding: 8px;