Skip to content

Commit c0d5474

Browse files
msivasubramaniaandatho7561
authored andcommitted
added media query in css
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent 41a4fc4 commit c0d5474

File tree

2 files changed

+41
-8
lines changed

2 files changed

+41
-8
lines changed

src/webview/welcome/app/welcome.scss

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,36 @@ section {
114114
.sticky-section-content .sticky-section-exten {
115115
top: 0;
116116
width: 100%;
117-
height: 10rem;
117+
}
118+
119+
@media screen and (min-width: 120px) and (max-width: 400px) {
120+
.sticky-section-content .sticky-section-exten{
121+
height: 8vh !important;
122+
}
123+
124+
.sticky-section {
125+
height: 50vh !important;
126+
}
127+
}
128+
129+
@media only screen and (min-width: 440px) and (max-width: 1080px) {
130+
.sticky-section-content .sticky-section-exten{
131+
height: 10vh !important;
132+
}
133+
134+
.sticky-section {
135+
height: 65vh !important;
136+
}
137+
}
138+
139+
@media only screen and (min-width: 1080px) and (max-width: 2500px) {
140+
.sticky-section-content .sticky-section-exten{
141+
height: 12vh !important;
142+
}
143+
144+
.sticky-section {
145+
height: 65vh !important;
146+
}
118147
}
119148

120149
.sticky-content-section {
@@ -209,6 +238,7 @@ section {
209238

210239
.sticky-section-hint {
211240
width: 53.125rem;
241+
word-spacing: 2px !important;
212242
}
213243

214244
.section__footer {
@@ -264,7 +294,6 @@ section {
264294
.sticky-section {
265295
display: flex;
266296
flex-direction: row;
267-
height: 70vh;
268297
margin-left: 10rem;
269298
top: 0%;
270299
background: inherit;
@@ -445,3 +474,7 @@ li {
445474
border-radius: 50%;
446475
margin-top: 5px;
447476
}
477+
478+
b {
479+
font-weight: bold !important;
480+
}

src/webview/welcome/app/welcomePage.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,22 +372,22 @@ export class Welcome extends React.Component<DefaultProps, {
372372
</div>
373373
<section className='sticky-section-content'>
374374
<div className='sticky-section-exten'>
375-
<p className='section__header-hint sticky-section-hint'>Allows developers to easily <p className='highlight'>create, deploy and live debug</p> container applications running on OpenShift &#38; Kubernetes. Thus enhancing the development inner loop workflow through One-click actions right from IDE.</p>
375+
<p className='section__header-hint sticky-section-hint'>Allows developers to easily <b>create, deploy and live debug</b> container applications running on OpenShift &#38; Kubernetes. Thus enhancing the development inner loop workflow through One-click actions right from IDE.</p>
376376
</div>
377377
<div className='sticky-section-exten'>
378-
<p className='section__header-hint sticky-section-hint'>Allows developers to <p className='highlight'>Push code fast and often.</p> Spend less time maintaining your deployment infrastructure and more time coding. Immediately have your application running each time you compile.</p>
378+
<p className='section__header-hint sticky-section-hint'>Allows developers to <b>Push code fast and often.</b> Spend less time maintaining your deployment infrastructure and more time coding. Immediately have your application running each time you compile.</p>
379379
</div>
380380
<div className='sticky-section-exten'>
381-
<p className='section__header-hint sticky-section-hint'>Allows support for importing devfile templates to set up specific applications quickly. This helps to deploy them all, big and small. Deploy a simple Node.JS application or even a complex Operator-backed service.</p>
381+
<p className='section__header-hint sticky-section-hint'><b>Import your code from git</b> and deploy on OpenShift using recommended devfile.</p>
382382
</div>
383383
<div className='sticky-section-exten'>
384-
<p className='section__header-hint sticky-section-hint'>Allows to Run your tests directly on the cluster. Debug and test remote applications deployed directly from your IDE to OpenShift. No more having to exit your IDE to push your application.</p>
384+
<p className='section__header-hint sticky-section-hint'>Allows to browse the catalog and discover <b>Helm Charts</b> and install them on the connected cluster.</p>
385385
</div>
386386
<div className='sticky-section-exten'>
387-
<p className='section__header-hint sticky-section-hint'>Allows to connect &#38; <p className='highlight'>provision free OpenShift cluster</p> from IDE, using a guided workflow. This workflow allows you to either Run OpenShift locally or provision a free 30 days Developer Sandbox.</p>
387+
<p className='section__header-hint sticky-section-hint'>Allows to connect &#38; <b>provision free OpenShift cluster</b> from IDE, using a guided workflow. This workflow allows you to either Run OpenShift locally or provision a free 30 days Developer Sandbox.</p>
388388
</div>
389389
<div className='sticky-section-exten'>
390-
<p className='section__header-hint sticky-section-hint'>Allows Monitoring through view and stream logs from your deployments, pods and containers for Kubernetes resources, with One Click from IDE.
390+
<p className='section__header-hint sticky-section-hint'>Allows Monitoring through <b>view and stream logs</b> from your deployments, pods and containers for Kubernetes resources, with One Click from IDE.
391391
</p>
392392
</div>
393393
</section>

0 commit comments

Comments
 (0)