Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TDDD27-AWEB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rasmus Svala
TDDD27-AWEB
Merge requests
!34
added a warning if user has a narrow screen
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
added a warning if user has a narrow screen
warning-narrow-screen
into
dev
Overview
1
Commits
1
Pipelines
0
Changes
3
Merged
Rasmus Svala
requested to merge
warning-narrow-screen
into
dev
7 months ago
Overview
1
Commits
1
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
ea7443ea
1 commit,
7 months ago
3 files
+
77
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
src/components/WarningPopup.js
0 → 100644
+
17
−
0
Options
// WarningPopup.js
import
React
from
"
react
"
;
const
WarningPopup
=
({
onClose
})
=>
{
return
(
<
div
className
=
"
warning-popup
"
>
<
div
className
=
"
warning-popup-content
"
>
<
p
>
For
the
best
experience
,
please
use
a
desktop
or
larger
device
.
<
/p
>
<
button
className
=
"
change-username-button
"
onClick
=
{
onClose
}
>
Close
<
/button
>
<
/div
>
<
/div
>
);
};
export
default
WarningPopup
;
Loading