diff --git a/custom_components/bahmcloud_store/panel/styles.css b/custom_components/bahmcloud_store/panel/styles.css index 46c2faf..6558e7d 100644 --- a/custom_components/bahmcloud_store/panel/styles.css +++ b/custom_components/bahmcloud_store/panel/styles.css @@ -1,10 +1,15 @@ body { font-family: system-ui, sans-serif; margin:0; } .wrap { padding: 16px; max-width: 1000px; margin: 0 auto; } .card { border: 1px solid #ddd; border-radius: 10px; padding: 12px; margin: 10px 0; } -.row { display:flex; justify-content:space-between; gap: 12px; align-items: flex-start; } +.row { display:flex; justify-content:space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; min-width:0; } .badge { border: 1px solid #bbb; border-radius: 999px; padding: 2px 8px; font-size: 12px; height: fit-content; } .muted { color: #666; font-size: 13px; margin-top: 4px; } .actions { display:flex; gap: 8px; margin-top: 10px; } button { padding: 8px 12px; cursor:pointer; } button[disabled] { opacity: 0.6; cursor: not-allowed; } a { color: inherit; } + +/* Basic markdown safety (in case styles.css is used by older panels) */ +.md { max-width: 100%; overflow-x: auto; } +.md table { display:block; max-width:100%; overflow-x:auto; } +.md img { max-width: 100%; height: auto; }