summaryrefslogtreecommitdiff
path: root/resources/css
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-06-28 12:51:15 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-06-28 12:51:15 +0100
commitdcafe1322dc174f7ba9af888f1ebd622c72bd62a (patch)
tree6c852cb418d1b4a0c16a2cdd431f74fd44c29c4b /resources/css
parent4d35caa736b1f4119b8a949d1cbca5644dbf4e23 (diff)
downloadwebtrees-dcafe1322dc174f7ba9af888f1ebd622c72bd62a.tar.gz
webtrees-dcafe1322dc174f7ba9af888f1ebd622c72bd62a.tar.bz2
webtrees-dcafe1322dc174f7ba9af888f1ebd622c72bd62a.zip
Fix: long filenames break album tab layout
Diffstat (limited to 'resources/css')
-rw-r--r--resources/css/_base.css1
-rw-r--r--resources/css/_tab-album.css24
2 files changed, 25 insertions, 0 deletions
diff --git a/resources/css/_base.css b/resources/css/_base.css
index a4f9a5c2e9..9bfab9dfe6 100644
--- a/resources/css/_base.css
+++ b/resources/css/_base.css
@@ -27,6 +27,7 @@
@import "_on-screen-keyboard.css";
@import "_pages.css";
@import "_sortable.css";
+@import "_tab-album.css";
@import "_tab-relatives.css";
/* Some icons need to be reversed on right-to-left pages */
diff --git a/resources/css/_tab-album.css b/resources/css/_tab-album.css
new file mode 100644
index 0000000000..ea857d118c
--- /dev/null
+++ b/resources/css/_tab-album.css
@@ -0,0 +1,24 @@
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2021 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * Album tab
+ *
+ * wt-tabs-individual
+ * +--- wt-tab-album
+ */
+.wt-album-tab-caption {
+ overflow: hidden;
+}