mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2025-12-23 22:29:01 -05:00
reduce header size, adjust overview page rows heights
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
<a href="https://sniffnet.net"><img alt="" title="Website" src="https://raw.githubusercontent.com/GyulyVGC/sniffnet/main/resources/repository/badges/website.svg"/></a>
|
||||
<a href="https://github.com/GyulyVGC/sniffnet/wiki"><img alt="" title="Wiki" src="https://raw.githubusercontent.com/GyulyVGC/sniffnet/main/resources/repository/badges/wiki.svg"/></a>
|
||||
|
||||
Application to comfortably monitor your Internet traffic <br>
|
||||
Cross-platform, Intuitive, Reliable
|
||||
Application to comfortably monitor your Internet traffic.<br>
|
||||
Cross-platform. Intuitive. Reliable.
|
||||
|
||||
Translated in:<br>
|
||||
🇨🇳 🇩🇪 🇫🇷 🇷🇺 🇵🇹 🇪🇦 🇮🇹 🇵🇱 [+ 12 more languages](https://github.com/GyulyVGC/sniffnet/issues/60)
|
||||
|
||||
@@ -49,7 +49,7 @@ pub fn header(sniffer: &Sniffer) -> Container<Message, StyleType> {
|
||||
.align_y(Alignment::Center)
|
||||
.height(Length::Fill)
|
||||
.line_height(LineHeight::Relative(0.7))
|
||||
.size(90);
|
||||
.size(80);
|
||||
|
||||
Container::new(
|
||||
Row::new()
|
||||
@@ -73,7 +73,7 @@ pub fn header(sniffer: &Sniffer) -> Container<Message, StyleType> {
|
||||
.push(horizontal_space())
|
||||
.push(get_button_settings(font, language, last_opened_setting)),
|
||||
)
|
||||
.height(80)
|
||||
.height(70)
|
||||
.align_y(Alignment::Center)
|
||||
.class(ContainerType::Gradient(color_gradient))
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ pub fn overview_page(sniffer: &Sniffer) -> Container<Message, StyleType> {
|
||||
.push(
|
||||
Row::new()
|
||||
.spacing(10)
|
||||
.height(FillPortion(5))
|
||||
.height(Fill)
|
||||
.push(container_info)
|
||||
.push(container_chart),
|
||||
)
|
||||
@@ -253,7 +253,7 @@ fn lazy_row_report<'a>(sniffer: &Sniffer) -> Container<'a, Message, StyleType> {
|
||||
.push(col_service);
|
||||
|
||||
Container::new(row_report)
|
||||
.height(FillPortion(4))
|
||||
.height(Fill)
|
||||
.class(ContainerType::BorderedRound)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user