Bootstrap admin theme usage

Created on 11 July 2024, 4 months ago
Updated 12 July 2024, 4 months ago

This isn't really a request to the wonderful maintainers. Thank you for this module.

If anyone is using a Bootstrap-based admin theme, the following CSS will make the display of server information much nicer. It supports Bootstrap dark mode as well.

I inject this CSS on just that page to not mess with the rest of the site.

table, tbody, tr {
  max-width: 100%;
  width: 100% !important;
  word-wrap: anywhere;
}

td, th {
  padding: .25em;
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

th {
  word-wrap: break-word;
}

h2 {
  color: var(--bs-heading-color) !important;
}
💬 Support request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇺🇸United States duckydan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @duckydan
  • 🇮🇳India Elavarasan R

    @duckydan, Great! Yes you are correct. We have different way to achieve this. one of the way is , Attaching library in the hook_preprocess function in the .module file from the custom module by adding condition for only this page.

Production build 0.71.5 2024