Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit bee6a39

Browse files
committed
Fix pixel inconsistencies
1 parent a78da38 commit bee6a39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/panoItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class PanoItem extends St.Widget {
206206
const height = Math.floor(this.settings.get_int('item-height') * mult) + header;
207207

208208
this.set_height(height * scaleFactor);
209-
this.container.set_width(this.settings.get_int('item-width') * scaleFactor);
209+
this.container.set_width((this.settings.get_int('item-width') - 2) * scaleFactor);
210210
// -2*4 for the border
211211
this.container.set_height((height - 8) * scaleFactor);
212212
this.body.set_height((height - 10 - header) * scaleFactor);

src/styles/stylesheet.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
/* Item */
4949
.pano-item {
5050
border-radius: 16px;
51-
margin: 6px 0px 12px 6px;
51+
margin: 5px 0px 12px 6px;
5252
border: 4px solid transparent;
5353
box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
5454
}
@@ -58,19 +58,19 @@
5858
}
5959

6060
.pano-window.vertical .pano-item {
61-
margin: 6px 12px 0px 12px;
61+
margin: 6px 10px 0px 10px;
6262
}
6363

6464
.pano-item:first-child {
65-
margin-left: 12px;
65+
margin-left: 10px;
6666
}
6767

6868
.pano-item:last-child {
69-
margin-right: 12px;
69+
margin-right: 10px;
7070
}
7171

7272
.pano-window.vertical .pano-item:last-child {
73-
margin-bottom: 12px;
73+
margin-bottom: 10px;
7474
}
7575

7676
.pano-item-container {

0 commit comments

Comments
 (0)