[fractal] content: Fix unwanted rounded corners in location preview
- From: Kévin Commaille <kcommaille src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] content: Fix unwanted rounded corners in location preview
- Date: Sun, 2 Oct 2022 15:53:49 +0000 (UTC)
commit 4e355341a39882a581f3816b95b5c3920978cca4
Author: Kévin Commaille <zecakeh tedomum fr>
Date: Sun Oct 2 17:32:07 2022 +0200
content: Fix unwanted rounded corners in location preview
data/resources/style.css | 5 -----
data/resources/ui/content-message-location.ui | 4 ++++
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index b0c84e9d2..1e2974c21 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -184,11 +184,6 @@ media-content-viewer controls {
min-width: 300px;
}
-location-viewer .map {
- border-radius: 6px;
- background-color: @borders;
-}
-
location-viewer .map-marker {
color: @accent_color;
}
diff --git a/data/resources/ui/content-message-location.ui b/data/resources/ui/content-message-location.ui
index 0eea651c0..607b13976 100644
--- a/data/resources/ui/content-message-location.ui
+++ b/data/resources/ui/content-message-location.ui
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="ContentMessageLocation" parent="GtkWidget">
+ <style>
+ <class name="thumbnail"/>
+ </style>
+ <property name="overflow">hidden</property>
<child>
<object class="ComponentsLocationViewer" id="location"/>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]