From e5333cb2f40dd51c9a2f0a78efd4e24a26bf52a1 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Fri, 26 Jul 2024 21:55:39 +0200 Subject: [PATCH] Ensure video width fits on datacard (#107) * Ensure video width fits on datacard * Use CSS file for styling --- audbcards/sphinx/table-preview.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audbcards/sphinx/table-preview.css b/audbcards/sphinx/table-preview.css index 9709dcd..ce82007 100644 --- a/audbcards/sphinx/table-preview.css +++ b/audbcards/sphinx/table-preview.css @@ -80,3 +80,7 @@ table.preview th { /* Use normal font in header row of preview table */ font-weight: normal !important; } +/* Ensure example video fits onto page */ +#example.section video { + max-width: 100%; +}