equal width to columns in funds view

This commit is contained in:
jorge 2023-03-10 13:16:03 +01:00
parent 3bc86053ff
commit 0b3ddb4a5c
6 changed files with 13 additions and 12 deletions

View File

@ -1893,7 +1893,7 @@ Add your custom styles in this file so it is easier to update the theme.
} }
.edit-post-visual-editor__content-area .archive-posts { .edit-post-visual-editor__content-area .archive-posts {
grid-template-columns: repeat(1, 1fr); grid-template-columns: repeat(1, minmax(0, 1fr));
} }
.edit-post-visual-editor__content-area .oficinasuport-titol-opcions { .edit-post-visual-editor__content-area .oficinasuport-titol-opcions {
@ -1968,7 +1968,7 @@ Add your custom styles in this file so it is easier to update the theme.
} }
.edit-post-visual-editor__content-area .archive-posts { .edit-post-visual-editor__content-area .archive-posts {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, minmax(0, 1fr));
grid-gap: 3em; grid-gap: 3em;
} }
} }
@ -1980,7 +1980,7 @@ Add your custom styles in this file so it is easier to update the theme.
} }
.edit-post-visual-editor__content-area .archive-posts { .edit-post-visual-editor__content-area .archive-posts {
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, minmax(0, 1fr));
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -110,7 +110,8 @@
} }
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(1 , 1fr); // https://stackoverflow.com/questions/47601564/equal-width-columns-in-css-grid#61240964
grid-template-columns: repeat(1 , minmax(0,1fr));
} }
.oficinasuport-titol-opcions { .oficinasuport-titol-opcions {
@ -180,7 +181,7 @@
grid-template-columns: 1fr 2fr; grid-template-columns: 1fr 2fr;
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(2 , 1fr); grid-template-columns: repeat(2 , minmax(0,1fr));
grid-gap: 3em; grid-gap: 3em;
} }
} }
@ -190,7 +191,7 @@
grid-template-columns: 1fr 3fr; grid-template-columns: 1fr 3fr;
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(3 , 1fr); grid-template-columns: repeat(3 , minmax(0,1fr));
} }
} }

View File

@ -1753,7 +1753,7 @@ textarea {
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(1, 1fr); grid-template-columns: repeat(1, minmax(0, 1fr));
} }
.oficinasuport-titol-opcions { .oficinasuport-titol-opcions {
@ -1828,7 +1828,7 @@ textarea {
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, minmax(0, 1fr));
grid-gap: 3em; grid-gap: 3em;
} }
} }
@ -1840,7 +1840,7 @@ textarea {
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, minmax(0, 1fr));
} }
} }

File diff suppressed because one or more lines are too long