Skip to content

Commit 8831eb6

Browse files
authored
Merge pull request #49593 from ayushontop/main
Fix: Button Text Not Displayed in Selected Language for "Tell Your Story" Button in Case Study Tab
2 parents 48dffd0 + 92984ad commit 8831eb6

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

layouts/case-studies/list.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ <h3>{{ .Title }}</h3>
5252
{{ end }}
5353
</a>
5454
{{ end }}
55-
<a target="_blank" href="https://docs.google.com/a/google.com/forms/d/e/1FAIpQLScuI7Ye3VQHQTwBASrgkjQDSS5TP0g3AXfFhwSM9YpHgxRKFA/viewform" class="tell-your-story"><img height="127px"src="/images/case-studies/story.svg" alt="{{ T "layouts_case_studies_list_tell" }}"></a>
56-
</div>
55+
<a target="_blank" href="https://docs.google.com/a/google.com/forms/d/e/1FAIpQLScuI7Ye3VQHQTwBASrgkjQDSS5TP0g3AXfFhwSM9YpHgxRKFA/viewform" class="tell-your-story">{{ T "layouts_case_studies_list_tell" }}</a> </div>
5756
</section>
5857
{{ .Content }}
5958
{{ end }}

static/css/gridpage.css

+13-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,19 @@ p.attrib {
161161
}
162162

163163
.tell-your-story {
164-
border: 1px solid #dddddd;
165-
border-radius: 6px;
166-
box-shadow: 1px 2px 2px #dddddd;
164+
display: flex;
165+
justify-content: center;
166+
align-items: center;
167+
height: 100%;
168+
padding: 50px;
169+
font-weight: 1000;
170+
font-size: x-large;
171+
background: #847f7f33;
172+
}
173+
.tell-your-story:hover {
174+
background: #847f7f66;
175+
transform: perspective(1000px) rotateY(10deg);
176+
transition: transform 0.5s;
167177
}
168178

169179
.gridPage .feature {

static/images/case-studies/story.png

-18 KB
Binary file not shown.

static/images/case-studies/story.svg

-1
This file was deleted.

0 commit comments

Comments
 (0)