Skip to content

Commit 93aa1bb

Browse files
CharlesHopmanalexdor
authored andcommitted
feat: Hide project tags on hover
* This solves #79 * Align projects logo with the design Align the project page logos with the designs https://github.com/ossn/fixme/blob/master/screens/desktop/Mozilla_Fixme_Screen03_Projects.png * Update projects.scss * Update projects.scss
1 parent d8da292 commit 93aa1bb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/styles/projects.scss

+8-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ $opacity: 0.3;
1414
.projects {
1515
@include media-breakpoint-up(md) {
1616
&-tile-tag-wrapper {
17-
max-width: 50%;
17+
max-width: 70%;
18+
max-height: 100%;
1819
}
1920
}
2021
&-title {
@@ -101,16 +102,19 @@ $opacity: 0.3;
101102
}
102103
}
103104
&-logo {
104-
max-height: 100%;
105+
height: 100%;
106+
width: 100%;
105107
object-fit: contain;
106108
}
107109
&-logo-wrapper {
108110
display: inline-flex;
109111
height: 100%;
110-
left: 7%;
111-
position: relative;
112+
left: 57%;
113+
position: absolute;
112114
top: 7%;
113115
visibility: visible;
116+
min-width: 50%;
117+
max-width: 100%;
114118
}
115119
}
116120
&-tile-tag {

0 commit comments

Comments
 (0)