Skip to content

Commit ff20333

Browse files
committed
Fix logo covering links in mobile drawer menu (Closes laradock#1252)
1 parent 2fc0f3c commit ff20333

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<div class="logo">
66
<img src="{{ $.Site.BaseURL }}{{ . }}">
77
</div>
8+
Laradock
89
{{ end }}
910
<!--<div class="name">-->
1011
<!--<strong>{{ .Site.Title }} {{ with .Site.Params.version }}<span class="version">{{ . }}</span>{{ end }}</strong>-->

DOCUMENTATION/themes/hugo-material-docs/static/stylesheets/highlight/highlight.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,17 @@ font-weight:700;
108108
OVERRIDING THE DEFAULT STYLES - By Mahmoud Zalt (mahmoud@zalt.me) for Laradock.io
109109
*/
110110

111-
.project .logo img{
112-
width: 140px;
113-
height: 140px;
111+
112+
.project .logo img {
113+
max-width: 100%;
114+
height: auto;
114115
background: transparent;
115116
border-radius: 0%;
116117
}
118+
119+
.project .banner {
120+
display: flex;
121+
align-items: center;
122+
font-size: 14px;
123+
font-weight: bold;
124+
}

0 commit comments

Comments
 (0)