From a3fe5fa906ae07dbffd7704c6f1eaabb1168260b Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 10 Jul 2019 10:37:58 +0300 Subject: [PATCH] new file --- content/two_column_html_addons.css | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 content/two_column_html_addons.css diff --git a/content/two_column_html_addons.css b/content/two_column_html_addons.css new file mode 100644 index 0000000..1fce53d --- /dev/null +++ b/content/two_column_html_addons.css @@ -0,0 +1,31 @@ +/* Two column addons for html addons manager available in Firefox 68 */ + + +@-moz-document url-prefix("chrome://mozapps/content/extensions/aboutaddons.html"){ + + :root{ overflow-x: hidden } /* Remove this if it causes horizontal scrolling problems */ + + @media (min-width:720px){ + #main{ max-width: unset !important; padding-right: 28px; } + addon-list > section, + recommended-addon-list{ + padding: 1em; + display: grid; + grid-template-areas: "hd hd" "cd cd"; + grid-template-columns: 1fr 1fr; + column-gap: 1em; + + } + + addon-card .card-contents{ width: unset !important; white-space: initial !important; } + + .card-heading-image{ max-width: calc(100% + 32px) } + section > h2{ grid-area: hd } + addon-card{ + padding-bottom: 0px !important; + padding-top: 0px !important; + grid-area: auto; + } + addon-card .addon-description{ max-height: 3em; scrollbar-width: thin; } + } +} \ No newline at end of file