[extensions-web/wip/tomtryf/redesign] Fixed box-sizing for messages and control buttons



commit 9aa3de8307296621ed262c065c2d0aecff69ce0e
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun Feb 26 12:08:06 2017 +0400

    Fixed box-sizing for messages and control buttons

 sweettooth/static/css/sweettooth.css |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/css/sweettooth.css b/sweettooth/static/css/sweettooth.css
index bccf76b..43620bc 100644
--- a/sweettooth/static/css/sweettooth.css
+++ b/sweettooth/static/css/sweettooth.css
@@ -298,6 +298,10 @@ li.extension:last-child, #local_extensions div.extension:last-child {
     width: 180px;
 }
 
+.extension .controls * {
+    box-sizing: content-box;
+}
+
 .extension.single-page .controls {
     width: auto;
     margin-right: 32px;
@@ -614,6 +618,7 @@ p.message {
     background-position: 16px center;
     border: 1px solid rgba(33, 33, 33, 0.3);
     border-top: 0;
+    box-sizing: content-box;
 }
 
 p.message:first-child {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]