You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of updating a page I use with some new info.
I use grids to have some sections in the page.
Now I want to add md-button links to have a quick navigation for the viewer.
The issue I encounter right now is, that the button is streched across the entire width of the Grid, rather than just the text width + padding like it does by default:
The grid itself has a structure like this:
<divclass="mdx-grid-container">
<divclass="mdx-grid-wrapper">
<div class="mdx-grid-child__header"> <h3 id="commands">Commands<a href="#commands" class="headerlink" title="Permanent Link">¶</a></h3> <p>The bot offers various commands in different categories, all with the purpose to bring you fun, entertainment or information.</p> <a href="/wiki/commands" class="md-button">Learn More</a> <!-- <-- Here is the button --></div><div class="mdx-grid-child"> <h3 id="fun">Fun<a class="headerlink" href="#fun" title="Permanent Link">¶</a></h3> <p>*Purr brings countless fun commands for your enjoyment. These commands include interactions with other users but also commands to get images of cute animals and similar.</p> <img src="/assets/img/demo/fun.webp"></div>
</div>
</div>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm in the process of updating a page I use with some new info.
I use grids to have some sections in the page.
Now I want to add md-button links to have a quick navigation for the viewer.
The issue I encounter right now is, that the button is streched across the entire width of the Grid, rather than just the text width + padding like it does by default:

The grid itself has a structure like this:
The CSS I have for the frontpage:
Beta Was this translation helpful? Give feedback.
All reactions