Skip to content

Commit

Permalink
Fixed dev manual buttons alignement
Browse files Browse the repository at this point in the history
Fixed dev manual button links alignement (increase min-width for longer text)
  • Loading branch information
nbozon committed Mar 22, 2020
1 parent 50a848c commit 733e224
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content/learn/manuals.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,31 @@ layout: "manuals"

<ul id="links" class="list-unstyled version">
<li>
<span class="mwl"><a href="https://grass.osgeo.org/programming7/ " target="_blank">GRASS GIS 7 Programmer's Manual</a></span>
<span class="mwl-l"><a href="https://grass.osgeo.org/programming7/ " target="_blank">GRASS GIS 7 Programmer's Manual</a></span>
<a href="https://grass.osgeo.org/programming7/" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
<li>
<span class="mwl"><a href="https://github.com/OSGeo/grass/tree/master/doc/vector/v.example " target="_blank"> GRASS GIS 7 Example Vector Module in C</a></span>
<span class="mwl-l"><a href="https://github.com/OSGeo/grass/tree/master/doc/vector/v.example " target="_blank"> GRASS GIS 7 Example Vector Module in C</a></span>
<a href="https://github.com/OSGeo/grass/tree/master/doc/vector/v.example" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
<li>
<span class="mwl"><a href="https://github.com/OSGeo/grass/tree/master/doc/raster/r.example " target="_blank"> GRASS GIS 7 Example Raster Module in C</a></span>
<span class="mwl-l"><a href="https://github.com/OSGeo/grass/tree/master/doc/raster/r.example " target="_blank"> GRASS GIS 7 Example Raster Module in C</a></span>
<a href="https://github.com/OSGeo/grass/tree/master/doc/raster/r.example" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
<li>
<span class="mwl"><a href="https://grass.osgeo.org/grass79/manuals/libpython/index.html " target="_blank"> GRASS GIS 7 Python Library Manual</a></span>
<span class="mwl-l"><a href="https://grass.osgeo.org/grass79/manuals/libpython/index.html " target="_blank"> GRASS GIS 7 Python Library Manual</a></span>
<a href="https://grass.osgeo.org/grass79/manuals/libpython/index.html" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
<li>
<span class="mwl"><a href="https://gitlab.com/vpetras/r.example.plus " target="_blank"> GRASS GIS 7 Example Python Module</a></span>
<span class="mwl-l"><a href="https://gitlab.com/vpetras/r.example.plus " target="_blank"> GRASS GIS 7 Example Python Module</a></span>
<a href="https://gitlab.com/vpetras/r.example.plus" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
<li>
<span class="mwl"><a href="https://github.com/OSGeo/grass/tree/master/doc/gui/wxpython/example " target="_blank"> GRASS GIS 7 Example GUI Module</a></span>
<span class="mwl-l"><a href="https://github.com/OSGeo/grass/tree/master/doc/gui/wxpython/example " target="_blank"> GRASS GIS 7 Example GUI Module</a></span>
<a href="https://github.com/OSGeo/grass/tree/master/doc/gui/wxpython/example" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
<li>
<span class="mwl"><a href="https://grass.osgeo.org/grass79/manuals/parser_standard_options.html " target="_blank"> GRASS GIS 7 Parser Standard Options</a></span>
<span class="mwl-l"><a href="https://grass.osgeo.org/grass79/manuals/parser_standard_options.html " target="_blank"> GRASS GIS 7 Parser Standard Options</a></span>
<a href="https://grass.osgeo.org/grass79/manuals/parser_standard_options.html" class="inl btn btn-primary" target="_blank">View HTML</a>
</li>
</ul>
4 changes: 4 additions & 0 deletions themes/grass/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ a.nws:hover {
display: inline-block;
min-width: 45%;
}
.mwl-l {
display: inline-block;
min-width:65%;
}
.version li {
margin-bottom: 9px;
}
Expand Down

0 comments on commit 733e224

Please sign in to comment.