Skip to content

Commit 7bd7096

Browse files
committed
fix: pop fix and ui adjustement
1 parent cb9493f commit 7bd7096

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

frontend/popup.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/* Styles ONLY for popup.html */
2+
body {
3+
font-family: sans-serif;
4+
width: 280px; /* A specific width for the popup window */
5+
padding: 15px;
6+
background-color: #f7f7f7;
7+
}
8+
9+
.container {
10+
text-align: center;
11+
}
12+
13+
h1 {
14+
font-size: 1.3em; /* Restored font size for better look */
15+
margin-top: 0;
16+
margin-bottom: 10px;
17+
color: #333;
18+
}
19+
20+
p {
21+
font-size: 0.9em; /* Restored font size */
22+
color: #555;
23+
margin-top: 0;
24+
}
25+
26+
select,
27+
button {
28+
width: 100%;
29+
padding: 10px;
30+
margin-top: 15px;
31+
box-sizing: border-box;
32+
border-radius: 5px;
33+
font-size: 1em;
34+
}
35+
36+
select {
37+
border: 1px solid #ccc;
38+
}
39+
40+
button {
41+
background-color: #007bff;
42+
color: white;
43+
border: none;
44+
cursor: pointer;
45+
font-weight: bold;
46+
}
47+
48+
button:hover {
49+
background-color: #0056b3;
50+
}

frontend/popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<title>CodeTranslateAI</title>
6-
<link rel="stylesheet" href="styles.css" />
6+
<link rel="stylesheet" href="popup.css" />
77
</head>
88
<body>
99
<div class="container">

0 commit comments

Comments
 (0)